1 %module pyupm_gas 2 %include "../upm.i" 3 %include "../carrays_uint16_t.i" 4 5 %typemap(in) uint16_t * { 6 void *argp = 0 ; 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 ); 8 $1 = reinterpret_cast< uint16_t * >(argp); 9 } 10 11 %feature("autodoc", "3"); 12 13 %include "gas.h" 14 %{ 15 #include "gas.h" 16 %} 17 18 %include "mq2.h" 19 %{ 20 #include "mq2.h" 21 %} 22 23 %include "mq3.h" 24 %{ 25 #include "mq3.h" 26 %} 27 28 %include "mq4.h" 29 %{ 30 #include "mq4.h" 31 %} 32 33 %include "mq5.h" 34 %{ 35 #include "mq5.h" 36 %} 37 38 %include "mq6.h" 39 %{ 40 #include "mq6.h" 41 %} 42 43 %include "mq7.h" 44 %{ 45 #include "mq7.h" 46 %} 47 48 %include "mq8.h" 49 %{ 50 #include "mq8.h" 51 %} 52 53 %include "mq9.h" 54 %{ 55 #include "mq9.h" 56 %} 57 58 %include "tp401.h" 59 %{ 60 #include "tp401.h" 61 %} 62