1 %module pyupm_mhz16 2 %include "../upm.i" 3 %include "cpointer.i" 4 5 %feature("autodoc", "3"); 6 7 /* Send "int *" to JavaScript as intp */ 8 %pointer_functions(int, intp); 9 %{ 10 #include "mhz16.h" 11 speed_t int_B9600 = B9600; 12 %} 13 %include "mhz16.h" 14 speed_t int_B9600 = B9600; 15