Integrate Linux init/term functions with Windows.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115950 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mhammond%skippinet.com.au
2002-03-06 10:19:27 +00:00
parent 6a28a5e882
commit ded7d2bc59

View File

@@ -219,13 +219,12 @@ BOOL WINAPI DllMain(HANDLE hInstance, DWORD dwReason, LPVOID lpReserved)
{
switch (dwReason) {
case DLL_PROCESS_ATTACH: {
if (!_init())
return FALSE;
pyxpcom_construct();
break;
}
case DLL_PROCESS_DETACH:
{
_fini();
pyxpcom_destruct();
break;
}
default: