pngcrush  1.8.13
About: Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
  Fossies Dox: pngcrush-1.8.13.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

cexcept.h File Reference
#include <setjmp.h>
Include dependency graph for cexcept.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define define_exception_type(etype)
 
#define init_exception_context(ec)   ((void)((ec)->penv = 0))
 
#define Try
 
#define exception__catch(action)
 
#define Catch(e)   exception__catch(((e) = the_exception_context->v.etmp, 0))
 
#define Catch_anonymous   exception__catch(0)
 
#define Throw
 

Macro Definition Documentation

◆ Catch

#define Catch (   e)    exception__catch(((e) = the_exception_context->v.etmp, 0))

Definition at line 231 of file cexcept.h.

◆ Catch_anonymous

#define Catch_anonymous   exception__catch(0)

Definition at line 232 of file cexcept.h.

◆ define_exception_type

#define define_exception_type (   etype)
Value:
jmp_buf *penv; \
int caught; \
volatile struct { etype etmp; } v; \
}

Definition at line 196 of file cexcept.h.

◆ exception__catch

#define exception__catch (   action)
Value:
} \
else { \
the_exception_context->caught = 1; \
} \
the_exception_context->penv = exception__prev; \
} \
if (!the_exception_context->caught || action) { } \
else

Definition at line 219 of file cexcept.h.

◆ init_exception_context

#define init_exception_context (   ec)    ((void)((ec)->penv = 0))

Definition at line 209 of file cexcept.h.

◆ Throw

#define Throw
Value:

Definition at line 243 of file cexcept.h.

◆ Try

#define Try
Value:
{ \
jmp_buf *exception__prev, exception__env; \
exception__prev = the_exception_context->penv; \
the_exception_context->penv = &exception__env; \
if (setjmp(exception__env) == 0) { \
do

Definition at line 211 of file cexcept.h.

the_exception_context
struct exception_context the_exception_context[1]
Definition: pngcrush.c:2220
exception_context::caught
int caught
Definition: pngcrush.c:2218
exception_context
Definition: pngcrush.c:2218
exception_context::etmp
const char * etmp
Definition: pngcrush.c:2218
exception_context::penv
jmp_buf * penv
Definition: pngcrush.c:2218
exception_context::v
volatile struct exception_context::@3 v