#include <setjmp.h>
#include "RConfig.h"
#include "DllImport.h"
Go to the source code of this file.
Classes | |
struct | ExceptionContext_t |
Defines | |
#define | SETJMP(buf) setjmp(buf) |
#define | RETRY |
#define | TRY |
#define | CATCH(n) |
#define | ENDTRY |
Functions | |
void | Throw (int code) |
Variables | |
R__EXTERN ExceptionContext_t * | gException |
#define CATCH | ( | n | ) |
Value:
gException = R__old; \ } else { \ int n = R__code; \ gException = R__old;
Definition at line 67 of file TException.h.
#define ENDTRY |
#define RETRY |
Value:
{ \ static ExceptionContext_t R__curr, *R__old = gException; \ int R__code; \ gException = &R__curr; \ R__code = SETJMP(gException->fBuf); if (R__code) { }; {
Definition at line 53 of file TException.h.
Definition at line 50 of file TException.h.
#define TRY |
Value:
{ \ static ExceptionContext_t R__curr, *R__old = gException; \ int R__code; \ gException = &R__curr; \ if ((R__code = SETJMP(gException->fBuf)) == 0) {
Definition at line 60 of file TException.h.
void Throw | ( | int | code | ) |
R__EXTERN ExceptionContext_t* gException |
Definition at line 78 of file TException.h.