1 %module jsupm_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 = (uint16_t *)(argp); 9 } 10 11 %include "gas.h" 12 %{ 13 #include "gas.h" 14 %} 15 16 %include "mq2.h" 17 %{ 18 #include "mq2.h" 19 %} 20 21 %include "mq3.h" 22 %{ 23 #include "mq3.h" 24 %} 25 26 %include "mq4.h" 27 %{ 28 #include "mq4.h" 29 %} 30 31 %include "mq5.h" 32 %{ 33 #include "mq5.h" 34 %} 35 36 %include "mq6.h" 37 %{ 38 #include "mq6.h" 39 %} 40 41 %include "mq7.h" 42 %{ 43 #include "mq7.h" 44 %} 45 46 %include "mq8.h" 47 %{ 48 #include "mq8.h" 49 %} 50 51 %include "mq9.h" 52 %{ 53 #include "mq9.h" 54 %} 55 56 %include "tp401.h" 57 %{ 58 #include "tp401.h" 59 %} 60