From: azv Date: Tue, 4 Sep 2018 07:06:57 +0000 (+0300) Subject: Fix compilation problems X-Git-Tag: V9_2_0a1~69 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f6a02c80da84b8356412858b060ba22e3148fd7;p=modules%2Fshaper.git Fix compilation problems --- diff --git a/src/ModelAPI/ModelAPI.i b/src/ModelAPI/ModelAPI.i index 3285881c9..e5113a5c2 100644 --- a/src/ModelAPI/ModelAPI.i +++ b/src/ModelAPI/ModelAPI.i @@ -30,6 +30,9 @@ %{ #include "ModelAPI_swig.h" + + // fix for SWIG v2.0.4 + #define SWIGPY_SLICE_ARG(obj) ((PyObject*)(obj)) %} // import other modules