|
@@ -2074,8 +2074,6 @@ static PyMethodDef python_simple_funcs[] = {
|
|
|
{ NULL, NULL }
|
|
{ NULL, NULL }
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-// Makepanda builds the library as libp3dtoolconfig instead of libdtoolconfig.
|
|
|
|
|
-#ifdef MAKEPANDA
|
|
|
|
|
#ifdef _WIN32
|
|
#ifdef _WIN32
|
|
|
extern "C" __declspec(dllexport) void initlibp3dtoolconfig();
|
|
extern "C" __declspec(dllexport) void initlibp3dtoolconfig();
|
|
|
#else
|
|
#else
|
|
@@ -2086,16 +2084,3 @@ void initlibp3dtoolconfig() {
|
|
|
Py_InitModule("libp3dtoolconfig", python_simple_funcs);
|
|
Py_InitModule("libp3dtoolconfig", python_simple_funcs);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#else // MAKEPANDA
|
|
|
|
|
-
|
|
|
|
|
-#ifdef _WIN32
|
|
|
|
|
-extern "C" __declspec(dllexport) void initlibdtoolconfig();
|
|
|
|
|
-#else
|
|
|
|
|
-extern "C" void initlibdtoolconfig();
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-void initlibdtoolconfig() {
|
|
|
|
|
- Py_InitModule("libdtoolconfig", python_simple_funcs);
|
|
|
|
|
-}
|
|
|
|
|
-#endif // MAKEPANDA
|
|
|
|
|
-
|
|
|