diff --git a/library/pydfhack/pydfhack.cpp b/library/pydfhack/pydfhack.cpp index 23aa3a730..378d885bd 100644 --- a/library/pydfhack/pydfhack.cpp +++ b/library/pydfhack/pydfhack.cpp @@ -23,7 +23,7 @@ distribution. */ #include "Python.h" -#include "UnionBase.cpp" +//#include "UnionBase.cpp" #include "DF_API.cpp" #ifndef PyMODINIT_FUNC @@ -39,17 +39,17 @@ PyMODINIT_FUNC initpydfhack(void) { PyObject* module; - if(PyType_Ready(&UnionBase_type) < 0) - return; + // if(PyType_Ready(&UnionBase_type) < 0) + // return; if(PyType_Ready(&DF_API_type) < 0) return; module = Py_InitModule3("pydfhack", module_methods, "pydfhack extension module"); - Py_INCREF(&UnionBase_type); + //Py_INCREF(&UnionBase_type); Py_INCREF(&DF_API_type); - PyModule_AddObject(module, "UnionBase", (PyObject*)&UnionBase_type); + //PyModule_AddObject(module, "UnionBase", (PyObject*)&UnionBase_type); PyModule_AddObject(module, "API", (PyObject*)&DF_API_type); } \ No newline at end of file