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