Salome HOME
3bea92c00cbcb795e1951d631e9cfb76e18db71a
[modules/shaper.git] / src / PrimitivesAPI / PrimitivesAPI.i
1 /* PrimitivesAPI.i */
2
3 %module PrimitivesAPI
4
5 %{
6   #include "PrimitivesAPI_swig.h"
7 %}
8
9 %include "doxyhelp.i"
10
11 // import other modules
12 %import "ModelHighAPI.i"
13
14 // to avoid error on this
15 #define PRIMITIVESAPI_EXPORT
16
17 // standard definitions
18 %include "typemaps.i"
19 %include "std_shared_ptr.i"
20
21 // shared pointers
22 %shared_ptr(PrimitivesAPI_Box)
23 %shared_ptr(PrimitivesAPI_Cylinder)
24
25 // all supported interfaces
26 %include "PrimitivesAPI_Box.h"
27 %include "PrimitivesAPI_Cylinder.h"