/* A special purpose main */ #include "main.h" #include "redblack.h" #include "alloc.h" /* Some globals that PCC needs */ int error_level, anerror; void myexit(int n) { exit(n); } #ifdef _MSVC #define random rand #else /* weimer: not needed: extern int random(void); */ #endif int __mmId; int debugMM; int debug; // allow explicit call into gc //int explicit_gc(); #define DATASIZE 16 // This is the size of the data that is reserved in // each node #ifndef ITERS #define ITERS 500000 #endif // ITERS // had to make these global since spreading the functionality // across several functions int count = 0; int sz; void innerDoTreeStuff(int letGcFree) { RBNode *t = NULL; int i; /* Add and delete random numbers from the hash table */ printf("inserting...\n"); for(i=0;i