src/main.h File Reference

Global declarations. More...

#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.


Detailed Description

Global declarations.


Function Documentation

void ofree ( id  o,
  ... 
)

Free's Objects.

Takes a vararg list of objects and passes each the free message.


Variable Documentation

int translation_error

Set to true if an error is encountered during translation.

If true, we won't proceed to the next translation phase.


Generated on Mon Dec 24 06:11:58 2007 for gfront by  doxygen 1.5.2