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