diff options
Diffstat (limited to 'libshiboken/basewrapper.cpp')
-rw-r--r-- | libshiboken/basewrapper.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index 9c2abe1f8..2b758d7c6 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -523,15 +523,13 @@ PyObject* SbkBaseWrapperType_TpNew(PyTypeObject* metatype, PyObject* args, PyObj return reinterpret_cast<PyObject*>(newType); } - - - void initShiboken() { static bool shibokenAlreadInitialised = false; if (shibokenAlreadInitialised) return; + initTypeResolver(); #ifdef WITH_THREAD PyEval_InitThreads(); #endif |