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