Home | History | Annotate | Download | only in hmc5883l
      1 %module pyupm_hmc5883l
      2 %include "../upm.i"
      3 %include "../carrays_int16_t.i"
      4 
      5 %feature("autodoc", "3");
      6 
      7 #ifdef DOXYGEN
      8 %include "hmc5883l_doc.i"
      9 #endif
     10 
     11 %typemap(out) int16_t* {
     12   $result = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int16Array, 0 |  0 );
     13 }
     14 
     15 %include "hmc5883l.h"
     16 %{
     17     #include "hmc5883l.h"
     18 %}
     19