1 %module javaupm_zfm20
2 %include "../upm.i"
3 %include "stdint.i"
4 %include "typemaps.i"
5 %include "arrays_java.i";
6 %include "../java_buffer.i";
7 
8 %apply uint16_t *OUTPUT { uint16_t *id, uint16_t *score };
9 
10 %{
11     #include "zfm20.h"
12     speed_t int_B57600 = B57600;
13 %}
14 
15 
16 %include "zfm20.h"
17 speed_t int_B57600 = B57600;
18