]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
[PY3] Fix initialization of Python component
authorNicolas Geimer <nicolas.geimer@edf.fr>
Wed, 15 Mar 2017 14:05:06 +0000 (15:05 +0100)
committerNicolas Geimer <nicolas.geimer@edf.fr>
Wed, 15 Mar 2017 14:05:06 +0000 (15:05 +0100)
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx

index 069e070f374c4e99a9aac7256edd82d0f6468359..b1cb8ec9e02053c4d95fab9192dde14f472f1b47 100644 (file)
@@ -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