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