diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-12-13 21:53:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-12-13 21:53:43 (GMT) |
commit | ccf90bf696a0852ef34ac2a86137b34e92827ec0 (patch) | |
tree | d43c65faf4316d8a55d67c74f363f3f4371068cd /plugins/pychrysalide/arch/immediate.c | |
parent | 0c6e15aa59918b7d3a1e63258e3f6792266d62e0 (diff) |
Renamed the function registering C constant values into Python objects.
Diffstat (limited to 'plugins/pychrysalide/arch/immediate.c')
-rw-r--r-- | plugins/pychrysalide/arch/immediate.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/pychrysalide/arch/immediate.c b/plugins/pychrysalide/arch/immediate.c index 5ee2d41..4c538e4 100644 --- a/plugins/pychrysalide/arch/immediate.c +++ b/plugins/pychrysalide/arch/immediate.c @@ -579,12 +579,12 @@ static bool py_imm_operand_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, IOD_BIN); - result &= PyDict_AddIntMacro(obj_type, IOD_OCT); - result &= PyDict_AddIntMacro(obj_type, IOD_DEC); - result &= PyDict_AddIntMacro(obj_type, IOD_HEX); - result &= PyDict_AddIntMacro(obj_type, IOD_CHAR); - result &= PyDict_AddIntMacro(obj_type, IOD_COUNT); + result &= PyDict_AddULongMacro(obj_type, IOD_BIN); + result &= PyDict_AddULongMacro(obj_type, IOD_OCT); + result &= PyDict_AddULongMacro(obj_type, IOD_DEC); + result &= PyDict_AddULongMacro(obj_type, IOD_HEX); + result &= PyDict_AddULongMacro(obj_type, IOD_CHAR); + result &= PyDict_AddULongMacro(obj_type, IOD_COUNT); return result; |