Salome HOME
Fix memory leak with shared_ptr in HighModelAPI and ConstructionAPI
[modules/shaper.git] / src / ConstructionAPI / ConstructionAPI.i
1 /* ConstructionAPI.i */
2 %module ConstructionAPI
3 %{
4   #include "ConstructionAPI_swig.h"
5 %}
6
7 // import other modules
8 %import "ModelHighAPI.i"
9
10 // to avoid error on this
11 #define CONSTRUCTIONAPI_EXPORT
12
13 // standard definitions
14 %include "typemaps.i"
15 %include "std_shared_ptr.i"
16
17 // shared pointers
18 %shared_ptr(ConstructionAPI_Point)
19
20 // all supported interfaces
21 %include "ConstructionAPI_Point.h"