extern "C" void __stdcall sxsJitStartup(CoreClrCallbacks const& cccallbacks) { #ifndef SELF_NO_HOST InitUtilcode(cccallbacks); #endif #if COR_JIT_EE_VERSION <= 460 jitStartup(JitHost::getJitHost()); #endif }
extern "C" BOOL WINAPI DllMain(HANDLE hInstance, DWORD dwReason, LPVOID pvReserved) { if (dwReason == DLL_PROCESS_ATTACH) { g_hInst = (HINSTANCE)hInstance; DisableThreadLibraryCalls((HINSTANCE)hInstance); #if defined(SELF_NO_HOST) && COR_JIT_EE_VERSION <= 460 jitStartup(JitHost::getJitHost()); #endif } else if (dwReason == DLL_PROCESS_DETACH) { jitShutdown(); } return TRUE; }
void jitOnDllProcessAttach() { jitStartup(); }
void jitOnDllProcessAttach() { #if COR_JIT_EE_VERSION <= 460 jitStartup(JitHost::getJitHost()); #endif }