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