py3: fox compiler warnings
issue 0000995
This commit is contained in:
@@ -123,7 +123,13 @@ PyMOD_INIT_FUNC(PartGui)
|
||||
Base::Console().Log("Loading GUI of Part module... done\n");
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
static struct PyModuleDef pAttachEngineTextsModuleDef = {PyModuleDef_HEAD_INIT,"AttachEngineResources", "AttachEngineResources", -1, 0};
|
||||
static struct PyModuleDef pAttachEngineTextsModuleDef = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"AttachEngineResources",
|
||||
"AttachEngineResources", -1,
|
||||
AttacherGui::AttacherGuiPy::Methods,
|
||||
NULL, NULL, NULL, NULL
|
||||
};
|
||||
PyObject* pAttachEngineTextsModule = PyModule_Create(&pAttachEngineTextsModuleDef);
|
||||
#else
|
||||
PyObject* pAttachEngineTextsModule = Py_InitModule3("AttachEngineResources", AttacherGui::AttacherGuiPy::Methods,
|
||||
|
||||
Reference in New Issue
Block a user