Workaround for incorrect output formatting
This commit is contained in:
parent
525c757322
commit
0147fb2e64
1 changed files with 2 additions and 1 deletions
|
|
@ -227,8 +227,9 @@ SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void
|
|||
SWIGINTERN PyObject *
|
||||
SWIG_globals(void) {
|
||||
static PyObject *globals = 0;
|
||||
if (!globals)
|
||||
if (!globals) {
|
||||
globals = SWIG_newvarlink();
|
||||
}
|
||||
return globals;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue