#include <assert.h>
Go to the source code of this file.
Defines | |
| #define | VERSION "0.01" |
| #define | TYPEASSERT(val, type) ( assert( typeassert( val, [type class] ) ) ) |
| #define | DEBUGSTART(...) (fputs("* ", stderr) ) |
| #define | DEBUGF(...) (fprintf(stderr, __VA_ARGS__) ) |
| #define | BUGF(...) (fprintf(stderr, __VA_ARGS__) ) |
| #define | ERRORF(...) (fprintf(stderr, __VA_ARGS__) ) |
| #define | WARNF(...) (fprintf(stderr, __VA_ARGS__) ) |
| #define | ISKINDOF(inst, type) ( [(inst) isKindOf: [type class]] ) |
| #define | QUOTE(x) #x |
Functions | |
| int | typeassert (id val, Class class) |
| void | ofree (id o,...) |
| Free's Objects. | |
Variables | |
| int | translation_error |
| Set to true if an error is encountered during translation. | |
| void ofree | ( | id | o, | |
| ... | ||||
| ) |
Free's Objects.
Takes a vararg list of objects and passes each the free message.
Set to true if an error is encountered during translation.
If true, we won't proceed to the next translation phase.
1.5.2