diff options
Diffstat (limited to 'src/pythonize.cpp')
-rw-r--r-- | src/pythonize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pythonize.cpp b/src/pythonize.cpp index e83f965..d8fb038 100644 --- a/src/pythonize.cpp +++ b/src/pythonize.cpp @@ -202,7 +202,7 @@ PyObject *importModule (char *moduleName) // returns an object from a loaded module // you must decref the object returned when done with it (new reference returned) -PyObject *getNewObjectRef (PyObject *module, char *object) +PyObject *getNewObjectRef (PyObject *module, const char *object) { return _pythonize ? _pythonize->getNewObjectRef (module, object) : NULL; } |