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