From: azv Date: Tue, 21 Jan 2020 05:24:35 +0000 (+0300) Subject: Fix compilation on Linux (part 2) X-Git-Tag: V9_5_0a1~54^2~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9add0e52ceac12abd0edef911a1c143e2c9b5a6f;p=modules%2Fshaper.git Fix compilation on Linux (part 2) --- diff --git a/src/ModelHighAPI/ModelHighAPI.i b/src/ModelHighAPI/ModelHighAPI.i index ab85db052..4c5755f48 100644 --- a/src/ModelHighAPI/ModelHighAPI.i +++ b/src/ModelHighAPI/ModelHighAPI.i @@ -261,8 +261,8 @@ %template(SelectionListList) std::list >; %template(RefAttrList) std::list; %template(RefList) std::list; -%template(DoubleList) std::list; -%template(IntegerList) std::list; +%template(DoubleAPIList) std::list; +%template(IntegerAPIList) std::list; // std::pair -> [] %template(ResultSubShapePair) std::pair, std::shared_ptr >; @@ -272,6 +272,8 @@ // fix compilarion error: 'res*' was not declared in this scope %typemap(freearg) const std::list & {} %typemap(freearg) const std::list > & {} +%typemap(freearg) const std::list & {} +%typemap(freearg) const std::list & {} %typemap(in) const std::list & (std::list temp) { std::shared_ptr * temp_attribute;