Integrate Linux init/term functions with Windows.

Not part of the build.
This commit is contained in:
mhammond%skippinet.com.au 2002-03-06 10:19:27 +00:00
Родитель 2dbc99fc58
Коммит dd9cad62eb
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -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: