BlitzMax Extended  0.8.11
Pushing Blitz to the Max.
blitz_module.h
00001 
00012 #ifndef BLITZ_MODULE_H
00013 #define BLITZ_MODULE_H
00014 
00015 #include "_common.h"
00016 
00017 BB_BEGIN_DECLS
00018 
00019 typedef struct BBModule BBModule;
00020 
00024 struct BBModule
00025 {
00027     BBModule*   succ;
00028     
00030     const char* ident;
00031     
00033     void        (*entry)();
00034 };
00035 
00043 void bbModuleImport(BBModule *mod);
00044 
00053 void bbModuleRegister(BBModule *mod);
00054 
00055 BB_END_DECLS
00056 
00057 #endif  // BLITZ_MODULE_H