/* Automatically generated header (sfdc 1.11e)! Do not edit! */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #if defined (__libnix__) __attribute__((section(".dlist___LIB_LIST__"))) void* BulletBase[2] = { (void*)-1, "bullet.library" }; #elif defined (__AMIGAOS4__) #undef __USE_INLINE__ #define _NO_INLINE #include #include #include #include #include __attribute__((weak)) struct Library * BulletBase = NULL; __attribute__((weak)) struct BulletIFace* IBullet = NULL; void __init_Bullet(void) __attribute__((constructor)); void __exit_Bullet(void) __attribute__((destructor)); void __init_Bullet(void) { if (BulletBase == NULL) { BulletBase = (struct Library *) IExec->OpenLibrary("bullet.library", 0); assert(BulletBase != NULL); } if (IBullet == NULL) { IBullet = (struct BulletIFace*) IExec->GetInterface((struct Library*) BulletBase, "main", 1, NULL); assert(IBullet != NULL); } } void __exit_Bullet(void) { IExec->DropInterface((struct Interface*) IBullet); IExec->CloseLibrary((struct Library*) BulletBase); } #endif #ifdef __cplusplus } #endif /* __cplusplus */