mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-24 10:09:20 +01:00
ua.i: insn_t char members are converted to integers
This commit is contained in:
parent
3eb4d4710a
commit
b184767ba0
@ -1,7 +1,12 @@
|
|||||||
|
// Convert op_t char members to integers
|
||||||
%apply unsigned char { char n };
|
%apply unsigned char { char n };
|
||||||
%apply unsigned char { char offb };
|
%apply unsigned char { char offb };
|
||||||
%apply unsigned char { char offo };
|
%apply unsigned char { char offo };
|
||||||
%apply unsigned char { char dtyp };
|
%apply unsigned char { char dtyp };
|
||||||
|
// Convert insn_t char members to integers
|
||||||
|
%apply unsigned char { char segpref };
|
||||||
|
%apply unsigned char { char insnpref };
|
||||||
|
%apply unsigned char { char flags };
|
||||||
|
|
||||||
%include "ua.hpp"
|
%include "ua.hpp"
|
||||||
|
|
||||||
@ -10,6 +15,10 @@
|
|||||||
%clear (char offo);
|
%clear (char offo);
|
||||||
%clear (char dtyp);
|
%clear (char dtyp);
|
||||||
|
|
||||||
|
%clear (segpref);
|
||||||
|
%clear (insnpref);
|
||||||
|
%clear (flags);
|
||||||
|
|
||||||
// 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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user