diff --git a/swig/ua.i b/swig/ua.i index 3347881..1ae9cd1 100644 --- a/swig/ua.i +++ b/swig/ua.i @@ -1,6 +1,15 @@ +%apply unsigned char { char n }; +%apply unsigned char { char offb }; +%apply unsigned char { char offo }; +%apply unsigned char { char dtyp }; %include "ua.hpp" +%clear (char n); +%clear (char offb); +%clear (char offo); +%clear (char dtyp); + // Small function to get the global cmd pointer // In Python it returns an insn_t class instance %inline {