From: Nicolas Geimer Date: Wed, 15 Mar 2017 14:05:06 +0000 (+0100) Subject: [PY3] Fix initialization of Python component X-Git-Tag: V9_0_0~7^2~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6ced19dc7cbc117e8eaa8735167edf0ec931a1fb;p=modules%2Fgui.git [PY3] Fix initialization of Python component --- diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx b/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx index 069e070f3..b1cb8ec9e 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx +++ b/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx @@ -45,7 +45,7 @@ // and to get C API from sip : sipBuildResult for example // -#define INIT_FUNCTION initSalomePyQtGUILight +#define INIT_FUNCTION PyInit_SalomePyQtGUILight #if defined(SIP_STATIC_MODULE) extern "C" void INIT_FUNCTION(); #else