ua.i: op_t char member (n, offb, etc.) are now correctly converted to integers

This commit is contained in:
gergely.erdelyi 2009-07-21 18:38:51 +00:00
parent 9530fbacfa
commit 3eb4d4710a

View File

@ -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" %include "ua.hpp"
%clear (char n);
%clear (char offb);
%clear (char offo);
%clear (char dtyp);
// Small function to get the global cmd pointer // Small function to get the global cmd pointer
// In Python it returns an insn_t class instance // In Python it returns an insn_t class instance
%inline { %inline {