36 #define INITIALIZER(name) bool name( void ) 38 #define TERMINATOR(name) void name( void ) 46 typedef bool PROGRAM_INITIALIZER();
47 typedef void PROGRAM_TERMINATOR();
49 typedef PROGRAM_INITIALIZER *pPROGRAM_INITIALIZER;
50 typedef PROGRAM_TERMINATOR *pPROGRAM_TERMINATOR;
57 pPROGRAM_INITIALIZER init;
58 pPROGRAM_TERMINATOR term;
69 void setInitState(
int i);
74 INITIALIZER(programInit);
75 TERMINATOR(programTerm);
80 INITIALIZER(initErrorManagers);
81 TERMINATOR(termErrorManagers);
82 INITIALIZER(initDelayedErrors);
83 TERMINATOR(termDelayedErrors);
84 INITIALIZER(initActiveErrors) ;
85 TERMINATOR(termActiveErrors) ;
90 INITIALIZER(initTowerBase);
91 TERMINATOR(termTowerBase);