15 #ifndef SYSTEM_DLLMAIN_ICPP 16 #define SYSTEM_DLLMAIN_ICPP 1 21 #if !defined(__APPLE__) 26 static void finalize(
void* hinstDLL);
30 #if defined(_WIN32) && defined(_DLL) 42 win::BOOL APIENTRY DllMain(
43 win::HINSTANCE hinstDLL,
45 win::LPVOID lpvReserved
50 case DLL_PROCESS_ATTACH: {
54 case DLL_THREAD_ATTACH:
56 case DLL_THREAD_DETACH:
58 case DLL_PROCESS_DETACH: {
79 #elif defined(__APPLE__) 92 #endif // SYSTEM_DLLMAIN_ICPP
static void initialize(void *hinstDLL)
GAUDI_API void setModuleHandle(ImageHandle handle)
Attach module handle.
bool TRUE
for job options legacy (TODO: get rid of these!) ----------------------—
static void finalize(void *hinstDLL)