]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL12755: SALOME frozen with 'Load Script' and a python module. A fix by Christian...
authorjfa <jfa@opencascade.com>
Wed, 12 Jul 2006 14:34:12 +0000 (14:34 +0000)
committerjfa <jfa@opencascade.com>
Wed, 12 Jul 2006 14:34:12 +0000 (14:34 +0000)
src/SMESHGUI/SMESHGUI_Swig.i

index eadd476e4a00f9e541f0bb1948d7f19e8494512c..fe3925989c97f920c19856810022884a2262f7ab 100644 (file)
 #include "SMESHGUI_Swig.hxx"
 %}
 
+/* Exception handler for all functions */
+%exception {
+    Py_BEGIN_ALLOW_THREADS
+    $action
+    Py_END_ALLOW_THREADS
+}
+
 %include "typemaps.i"
 
 class SMESH_Swig