2014-12-15 13:49:58 -08:00
|
|
|
%module jsupm_itg3200
|
|
|
|
%include "../upm.i"
|
2015-01-19 15:11:34 -08:00
|
|
|
%include "../carrays_int16_t.i"
|
|
|
|
%include "../carrays_float.i"
|
2014-12-15 13:49:58 -08:00
|
|
|
|
|
|
|
%{
|
2016-04-25 14:27:51 -07:00
|
|
|
#include "itg3200.hpp"
|
2014-12-15 13:49:58 -08:00
|
|
|
%}
|
|
|
|
|
2015-01-19 15:11:34 -08:00
|
|
|
%typemap(out) int16_t * {
|
|
|
|
$result = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int16Array, 0 | 0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
%typemap(out) float * {
|
|
|
|
$result = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatArray, 0 | 0 );
|
|
|
|
}
|
|
|
|
|
2016-04-25 14:27:51 -07:00
|
|
|
%include "itg3200.hpp"
|
2014-12-15 13:49:58 -08:00
|
|
|
|
|
|
|
%include <carrays.i>
|