1 %module javaupm_pn532 2 %include "../upm.i" 3 %include "typemaps.i" 4 %include "arrays_java.i" 5 6 %apply signed char[] {uint8_t *}; 7 %apply unsigned char *INOUT {uint8_t *responseLength}; 8 %apply unsigned char *OUTPUT {uint8_t *uidLength}; 9 10 %ignore i2cContext; 11 12 %{ 13 #include "pn532.h" 14 %} 15 16 %include "pn532.h" 17