Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
SignalTryCatch.h File Reference
#include <setjmp.h>
#include "CPyCppyy/CommonDefs.h"
Include dependency graph for SignalTryCatch.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  CppyyLegacy::ExceptionContext_t
 

Namespaces

namespace  CppyyLegacy
 

Macros

#define CLING_EXCEPTION_CATCH(n)
 
#define CLING_EXCEPTION_ENDTRY
 
#define CLING_EXCEPTION_RETRY
 
#define CLING_EXCEPTION_SETJMP(buf)   sigsetjmp(buf,1)
 
#define CLING_EXCEPTION_TRY
 
#define NEED_SIGJMP   1
 

Typedefs

using CppyyExceptionContext_t = CppyyLegacy::ExceptionContext_t
 

Variables

CPYCPPYY_IMPORT CppyyExceptionContext_tgException
 

Macro Definition Documentation

◆ CLING_EXCEPTION_CATCH

#define CLING_EXCEPTION_CATCH (   n)
Value:
gException = R__old; \
} else { \
int n = R__code; \
gException = R__old;
CPYCPPYY_IMPORT CppyyExceptionContext_t * gException
const Int_t n
Definition legend1.C:16

Definition at line 63 of file SignalTryCatch.h.

◆ CLING_EXCEPTION_ENDTRY

#define CLING_EXCEPTION_ENDTRY
Value:
} \
gException = R__old; \
}

Definition at line 69 of file SignalTryCatch.h.

◆ CLING_EXCEPTION_RETRY

#define CLING_EXCEPTION_RETRY
Value:
{ \
static CppyyExceptionContext_t R__curr, *R__old = gException; \
int R__code; \
gException = &R__curr; \
R__code = CLING_EXCEPTION_SETJMP(gException->fBuf); if (R__code) { }; {
#define CLING_EXCEPTION_SETJMP(buf)

Definition at line 49 of file SignalTryCatch.h.

◆ CLING_EXCEPTION_SETJMP

#define CLING_EXCEPTION_SETJMP (   buf)    sigsetjmp(buf,1)

Definition at line 44 of file SignalTryCatch.h.

◆ CLING_EXCEPTION_TRY

#define CLING_EXCEPTION_TRY
Value:
{ \
static CppyyExceptionContext_t R__curr, *R__old = gException; \
int R__code; \
gException = &R__curr; \
if ((R__code = CLING_EXCEPTION_SETJMP(gException->fBuf)) == 0) {

Definition at line 56 of file SignalTryCatch.h.

◆ NEED_SIGJMP

#define NEED_SIGJMP   1

Definition at line 18 of file SignalTryCatch.h.

Typedef Documentation

◆ CppyyExceptionContext_t

Variable Documentation

◆ gException

Definition at line 74 of file SignalTryCatch.h.