BlitzMax Extended  0.8.16
Pushing Blitz to the Max.
blitz_blitzexception.h
Go to the documentation of this file.
1 
12 #ifndef BLITZ_EX_BLITZEXCEPTION_H
13 #define BLITZ_EX_BLITZEXCEPTION_H
14 
15 #include "blitz_exception.h"
16 
17 BB_BEGIN_DECLS
18 
26 {
32  int refs;
33 
35 };
36 
37 #define BBBLITZEXCEPTION_ALLOC(clas) \
38  ({ \
39  (BBBlitzException *) \
40  bbGCAllocObject( \
41  sizeof (BBBlitzException), \
42  (clas), \
43  BBGC_FINALIZE \
44  ); \
45  })
46 
47 extern BBClass bbBlitzExceptionClass;
48 
49 BB_END_DECLS
50 
51 #endif // BLITZ_EX_BLITZEXCEPTION_H