Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / 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