Skip to content

Commit

Permalink
Fix inconsistencies between C and Python bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Aug 18, 2024
1 parent 7c9d1f2 commit 483b1bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/python/capstone/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class ArmOpMem(ctypes.Structure):
('scale', ctypes.c_int),
('disp', ctypes.c_int),
('lshift', ctypes.c_int),
('align', ctypes.c_uint),
)

class ArmOpShift(ctypes.Structure):
Expand All @@ -38,7 +39,7 @@ class ArmOpValue(ctypes.Union):
_fields_ = (
('reg', ctypes.c_uint),
('sysop', ArmOpSysop),
('imm', ctypes.c_int32),
('imm', ctypes.c_int64),
('pred', ctypes.c_int),
('fp', ctypes.c_double),
('mem', ArmOpMem),
Expand Down

0 comments on commit 483b1bb

Please sign in to comment.