bbinit.cpp 240 B

123456789101112
  1. #include "bbinit.h"
  2. #include <stdio.h>
  3. bbInit *bbInit::first;
  4. bbInit::bbInit( const char *ident,void(*init)() ):info( info ),init( init ){
  5. // printf( "Registering initializer '%s'\n",info );fflush( stdout );
  6. succ=first;
  7. first=this;
  8. }