]> SALOME platform Git repositories - modules/shaper.git/blob - src/GeomAPI/GeomAPI.i
Salome HOME
3f65f05f21ba8978b0bdeec124704d11051ce7bd
[modules/shaper.git] / src / GeomAPI / GeomAPI.i
1 /* GeomAPI.i */
2 %module GeomAPI
3 %{
4   #include "boost/shared_ptr.hpp"
5   #include "GeomAPI.h"
6   #include "GeomAPI_Interface.h"
7   #include "GeomAPI_Pnt.h"
8   #include "GeomAPI_Shape.h"
9 %}
10
11 // to avoid error on this
12 #define GEOMAPI_EXPORT
13
14 // standard definitions
15 %include "typemaps.i"
16 %include "std_string.i"
17 //%include <std_shared_ptr.i>
18 %include <boost_shared_ptr.i>
19
20 // boost pointers
21 // %include <boost_shared_ptr.i>
22 %shared_ptr(GeomAPI_Interface)
23 %shared_ptr(GeomAPI_Pnt)
24 %shared_ptr(GeomAPI_Shape)
25
26 // all supported interfaces
27 %include "GeomAPI_Interface.h"
28 %include "GeomAPI_Pnt.h"
29 %include "GeomAPI_Shape.h"