]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation on Linux (part 2)
authorazv <azv@opencascade.com>
Tue, 21 Jan 2020 05:24:35 +0000 (08:24 +0300)
committerazv <azv@opencascade.com>
Tue, 21 Jan 2020 05:24:35 +0000 (08:24 +0300)
src/ModelHighAPI/ModelHighAPI.i

index ab85db052adf3c608ff38563409c6fe0be928521..4c5755f48e0de01ec5ddeec88ba9a77293a5af05 100644 (file)
 %template(SelectionListList) std::list<std::list<ModelHighAPI_Selection> >;
 %template(RefAttrList) std::list<ModelHighAPI_RefAttr>;
 %template(RefList) std::list<ModelHighAPI_Reference>;
-%template(DoubleList) std::list<ModelHighAPI_Double>;
-%template(IntegerList) std::list<ModelHighAPI_Integer>;
+%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;