// standard definitions
%include "typemaps.i"
+%include "std_shared_ptr.i"
+
+// shared pointers
+%shared_ptr(ConstructionAPI_Point)
// all supported interfaces
%include "ConstructionAPI_Point.h"
// standard definitions
%include "typemaps.i"
%include "std_string.i"
+%include "std_shared_ptr.i"
-// all supported interfaces
-%include "ModelHighAPI_Double.h"
+// shared pointers
+%shared_ptr(ModelHighAPI_Interface)
// typemaps
%typemap(in) const ModelHighAPI_Double & (ModelHighAPI_Double temp) {
%typecheck(SWIG_TYPECHECK_POINTER) ModelHighAPI_Double, const ModelHighAPI_Double & {
$1 = (PyFloat_Check($input) || PyInt_Check($input) || PyLong_Check($input) || PyString_Check($input)) ? 1 : 0;
}
+
+// all supported interfaces
+%include "ModelHighAPI_Double.h"
+%include "ModelHighAPI_Interface.h"