Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI.i
diff --git
a/src/ModelAPI/ModelAPI.i
b/src/ModelAPI/ModelAPI.i
index 3285881c9015a1f19606b9ae520320da95097130..e5113a5c2fea4df2c8dcad75153abfaab8196014 100644
(file)
--- 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