PGEXCEPS.H File Reference

#include "CPUDEFS.H"
#include "PGSETJMP.H"
#include <setjmp.h>

Include dependency graph for PGEXCEPS.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pg_fail_info

Defines

#define PG_TRY(pg_globals_p)
#define PG_CATCH
#define PG_ENDTRY   } }
#define PG_GET_ERROR()   pgGetError( __pg_globals_p)
#define PG_GET_MESSAGE()   pgGetMessage( __pg_globals_p)
#define PG_GET_REFERENCE()   pgGetReference( __pg_globals_p)
#define PG_SET_REFERENCE(ref)   pgSetReference( __pg_globals_p, ref)
#define PG_FAIL_NIL(p)   pgFailNIL( __pg_globals_p, (void PG_FAR *)(p))
#define PG_FAIL_BOOLEAN(b)   pgFailBoolean( __pg_globals_p, (pg_boolean)(b))
#define PG_FAIL_ERROR(err)   pgFailError( __pg_globals_p, (pg_error)(err))
#define PG_FAIL_NOT_ERROR(acceptable_error, actual_error)   pgFailNotError( __pg_globals_p, (pg_error)(acceptable_error), (pg_error)(actual_error))
#define PG_FAILURE(err, message)   pgFailure( __pg_globals_p, (pg_error)(err), (long)(message))
#define PG_SUCCESS()   pgSuccess( __pg_globals_p)
#define PG_SET_FAIL_INFO(err, message, ref)   pgSetFailInfo( __pg_globals_p, (pg_error)(err), (long)(message), (void *)(ref))
#define PG_GET_MEM_GLOBALS()   (__pg_globals_p)
#define PG_RERAISE()   pgReRaise(__pg_globals_p)


Define Documentation

#define PG_CATCH
 

Value:

pgSuccess(__pg_globals_p); }                    \
        else {

Definition at line 60 of file PGEXCEPS.H.

Referenced by unpackwordsolutionenginefile(), wpdrawtext(), wpinserttext(), wpinserttexthandle(), wpnewbuffer(), wpnewpg(), wppaste(), wpunpacktext(), and wpupdate().

#define PG_ENDTRY   } }
 

Definition at line 64 of file PGEXCEPS.H.

Referenced by unpackwordsolutionenginefile(), wpdrawtext(), wpinserttext(), wpinserttexthandle(), wpnewbuffer(), wpnewpg(), wppaste(), wpunpacktext(), and wpupdate().

#define PG_FAIL_BOOLEAN  )     pgFailBoolean( __pg_globals_p, (pg_boolean)(b))
 

Definition at line 87 of file PGEXCEPS.H.

#define PG_FAIL_ERROR err   )     pgFailError( __pg_globals_p, (pg_error)(err))
 

Definition at line 90 of file PGEXCEPS.H.

#define PG_FAIL_NIL  )     pgFailNIL( __pg_globals_p, (void PG_FAR *)(p))
 

Definition at line 84 of file PGEXCEPS.H.

#define PG_FAIL_NOT_ERROR acceptable_error,
actual_error   )     pgFailNotError( __pg_globals_p, (pg_error)(acceptable_error), (pg_error)(actual_error))
 

Definition at line 93 of file PGEXCEPS.H.

#define PG_FAILURE err,
message   )     pgFailure( __pg_globals_p, (pg_error)(err), (long)(message))
 

Definition at line 96 of file PGEXCEPS.H.

 
#define PG_GET_ERROR  )     pgGetError( __pg_globals_p)
 

Definition at line 72 of file PGEXCEPS.H.

 
#define PG_GET_MEM_GLOBALS  )     (__pg_globals_p)
 

Definition at line 105 of file PGEXCEPS.H.

 
#define PG_GET_MESSAGE  )     pgGetMessage( __pg_globals_p)
 

Definition at line 75 of file PGEXCEPS.H.

 
#define PG_GET_REFERENCE  )     pgGetReference( __pg_globals_p)
 

Definition at line 78 of file PGEXCEPS.H.

 
#define PG_RERAISE  )     pgReRaise(__pg_globals_p)
 

Definition at line 108 of file PGEXCEPS.H.

#define PG_SET_FAIL_INFO err,
message,
ref   )     pgSetFailInfo( __pg_globals_p, (pg_error)(err), (long)(message), (void *)(ref))
 

Definition at line 102 of file PGEXCEPS.H.

#define PG_SET_REFERENCE ref   )     pgSetReference( __pg_globals_p, ref)
 

Definition at line 81 of file PGEXCEPS.H.

 
#define PG_SUCCESS  )     pgSuccess( __pg_globals_p)
 

Definition at line 99 of file PGEXCEPS.H.

#define PG_TRY pg_globals_p   ) 
 

Value:

{ pg_fail_info __fi;                                \
          pgm_globals_ptr __pg_globals_p = pg_globals_p;    \
          pgPushHandler( __pg_globals_p, &__fi);            \
          if (!setjmp( __fi.regs)) {

Definition at line 54 of file PGEXCEPS.H.

Referenced by unpackwordsolutionenginefile(), wpdrawtext(), wpinserttext(), wpinserttexthandle(), wpnewbuffer(), wpnewpg(), wppaste(), wpunpacktext(), and wpupdate().


Generated on Fri Jun 9 22:24:29 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6