fixed python global object constants
Fix for Python and -builtin Fix from Github issue #250
This commit is contained in:
parent
2e01533b23
commit
0ad384bb28
1 changed files with 6 additions and 0 deletions
|
|
@ -401,6 +401,12 @@ SWIG_init(void) {
|
||||||
#else
|
#else
|
||||||
m = Py_InitModule((char *) SWIG_name, SwigMethods);
|
m = Py_InitModule((char *) SWIG_name, SwigMethods);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SWIGPYTHON_BUILTIN
|
||||||
|
PyObject *self = m;
|
||||||
|
(void)self;
|
||||||
|
#endif
|
||||||
|
|
||||||
md = d = PyModule_GetDict(m);
|
md = d = PyModule_GetDict(m);
|
||||||
(void)md;
|
(void)md;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue