1 %module javaupm_mhz16 2 %include "../upm.i" 3 %include "cpointer.i" 4 %include "typemaps.i" 5 %include "arrays_java.i"; 6 %include "../java_buffer.i" 7 8 %apply int *OUTPUT { int *gas, int *temp }; 9 10 %{ 11 #include "mhz16.h" 12 speed_t int_B9600 = B9600; 13 %} 14 15 %include "mhz16.h" 16 speed_t int_B9600 = B9600; 17