Fix ISOC build errors.

This commit is contained in:
Andrew Rogers 2018-11-25 04:23:18 +00:00
commit 3c090307a4

View file

@ -332,8 +332,6 @@ SWIGEXPORT
SWIG_init(void) {
PyObject *m, *d, *md, *globals;
(void)globals;
#if PY_VERSION_HEX >= 0x03000000
static struct PyModuleDef SWIG_module = {
PyModuleDef_HEAD_INIT,
@ -386,6 +384,8 @@ SWIG_init(void) {
assert(metatype);
#endif
(void)globals;
/* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */
SWIG_This();
SWIG_Python_TypeCache();