Salome HOME
Issue #2024: Redesign of circle and arc of circle (validate preselected object)
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI.i
index 6ba7fc781e0e444790fdcf1af8f142171ae0b453..e79c011bdb0cca7c845a1715aa73a3ad294f47d9 100644 (file)
@@ -2,6 +2,9 @@
 %module GeomAlgoAPI
 %{
   #include "GeomAlgoAPI_swig.h"
+
+  // fix for SWIG v2.0.4
+  #define SWIGPY_SLICE_ARG(obj) ((PySliceObject*)(obj))
 %}
 
 // import other modules