diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-24 11:34:13 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-24 11:34:13 -0500 |
commit | 036a0020a90077abdd504141a9d54f755673d40a (patch) | |
tree | 15e81db620cd2c358f8ff381ca0b62904ae32006 /src/pythonize.cpp | |
parent | aa5db0802c4472ad9ffeeb7c0101abed1b415c73 (diff) | |
download | pytdeextensions-036a0020a90077abdd504141a9d54f755673d40a.tar.gz pytdeextensions-036a0020a90077abdd504141a9d54f755673d40a.zip |
Properly re-export loaded module symbols as global
This relates to Bug 1995
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; } |