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