From 3a94785cc073e3a6abd380d70fa48d83e3bc000c Mon Sep 17 00:00:00 2001 From: doomchild Date: Wed, 21 Apr 2010 10:40:43 -0500 Subject: [PATCH] changed API type name --- dfhack/python/pydfhack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dfhack/python/pydfhack.cpp b/dfhack/python/pydfhack.cpp index fadb0852b..b01adad1c 100644 --- a/dfhack/python/pydfhack.cpp +++ b/dfhack/python/pydfhack.cpp @@ -117,7 +117,7 @@ PyMODINIT_FUNC initpydfhack(void) Py_INCREF(&DF_Map_type); Py_INCREF(&DF_GUI_type); - PyModule_AddObject(module, "API", (PyObject*)&DF_API_type); + PyModule_AddObject(module, "_API", (PyObject*)&DF_API_type); PyModule_AddObject(module, "_MemInfo", (PyObject*)&DF_MemInfo_type); PyModule_AddObject(module, "_PositionManager", (PyObject*)&DF_Position_type); PyModule_AddObject(module, "_MaterialsManager", (PyObject*)&DF_Material_type);