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