mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-23 08:00:44 +00:00
Changed type for cs_x86_op.reg
Fixed type for cs_x86_op reg to be a x86_reg instead of unsigned int. This makes it easier to understand that reg is a x86_reg enumeration versus something else. It is currently not clear which type reg is.
This commit is contained in:
parent
5b04f73699
commit
33dd68b1ac
@ -183,7 +183,7 @@ typedef struct x86_op_mem {
|
||||
typedef struct cs_x86_op {
|
||||
x86_op_type type; // operand type
|
||||
union {
|
||||
unsigned int reg; // register value for REG operand
|
||||
x86_reg reg; // register value for REG operand
|
||||
int64_t imm; // immediate value for IMM operand
|
||||
double fp; // floating point value for FP operand
|
||||
x86_op_mem mem; // base/index/scale/disp value for MEM operand
|
||||
|
Loading…
x
Reference in New Issue
Block a user