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