/* GeomAPI.i */ %module GeomAPI %{ #include "memory" #include "GeomAPI.h" #include "GeomAPI_Interface.h" #include "GeomAPI_Pnt.h" #include "GeomAPI_Shape.h" %} // to avoid error on this #define GEOMAPI_EXPORT // standard definitions %include "typemaps.i" %include "std_string.i" %include // boost pointers // %include %shared_ptr(GeomAPI_Interface) %shared_ptr(GeomAPI_Pnt) %shared_ptr(GeomAPI_Shape) // all supported interfaces %include "GeomAPI_Interface.h" %include "GeomAPI_Pnt.h" %include "GeomAPI_Shape.h"