]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation problems
authorazv <azv@opencascade.com>
Tue, 4 Sep 2018 07:06:57 +0000 (10:06 +0300)
committerazv <azv@opencascade.com>
Tue, 4 Sep 2018 07:07:41 +0000 (10:07 +0300)
src/ModelAPI/ModelAPI.i

index 3285881c9015a1f19606b9ae520320da95097130..e5113a5c2fea4df2c8dcad75153abfaab8196014 100644 (file)
@@ -30,6 +30,9 @@
 
 %{
   #include "ModelAPI_swig.h"
+
+  // fix for SWIG v2.0.4
+  #define SWIGPY_SLICE_ARG(obj) ((PyObject*)(obj))
 %}
 
 // import other modules