]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation on Linux (complete)
authorazv <azv@opencascade.com>
Tue, 21 Jan 2020 06:10:09 +0000 (09:10 +0300)
committerazv <azv@opencascade.com>
Tue, 21 Jan 2020 06:10:09 +0000 (09:10 +0300)
src/ModelHighAPI/ModelHighAPI.i
src/SketchAPI/SketchAPI_BSpline.h

index 4c5755f48e0de01ec5ddeec88ba9a77293a5af05..30fb144b34a2ac9c177abcfb15c99bc4067aa1d0 100644 (file)
 %template(SelectionListList) std::list<std::list<ModelHighAPI_Selection> >;
 %template(RefAttrList) std::list<ModelHighAPI_RefAttr>;
 %template(RefList) std::list<ModelHighAPI_Reference>;
-%template(DoubleAPIList) std::list<ModelHighAPI_Double>;
-%template(IntegerAPIList) std::list<ModelHighAPI_Integer>;
 
 // std::pair -> []
 %template(ResultSubShapePair) std::pair<std::shared_ptr<ModelAPI_Result>, std::shared_ptr<GeomAPI_Shape> >;
 // fix compilarion error: 'res*' was not declared in this scope
 %typemap(freearg) const std::list<ModelHighAPI_RefAttr> & {}
 %typemap(freearg) const std::list<std::shared_ptr<ModelAPI_Object> > & {}
-%typemap(freearg) const std::list<ModelHighAPI_Double> & {}
-%typemap(freearg) const std::list<ModelHighAPI_Integer> & {}
 
 %typemap(in) const std::list<ModelHighAPI_RefAttr> & (std::list<ModelHighAPI_RefAttr> temp) {
   std::shared_ptr<ModelAPI_Attribute> * temp_attribute;
index 70370ad0ba6ae1ad43ebc8cc918cad61e6cdff3b..a72b2690a3a2640c6a5140faf12776eb5b043841 100644 (file)
@@ -29,8 +29,9 @@
 
 #include <SketchPlugin_BSpline.h>
 
-class ModelHighAPI_Double;
-class ModelHighAPI_Integer;
+#include <ModelHighAPI_Double.h>
+#include <ModelHighAPI_Integer.h>
+
 class ModelHighAPI_Selection;
 
 /// \class SketchAPI_BSpline