diff options
Diffstat (limited to 'plugins/pychrysalide/format')
-rw-r--r-- | plugins/pychrysalide/format/format.c | 4 | ||||
-rw-r--r-- | plugins/pychrysalide/format/strsym.c | 8 | ||||
-rw-r--r-- | plugins/pychrysalide/format/symbol.c | 26 |
3 files changed, 19 insertions, 19 deletions
diff --git a/plugins/pychrysalide/format/format.c b/plugins/pychrysalide/format/format.c index 154bef3..2affeba 100644 --- a/plugins/pychrysalide/format/format.c +++ b/plugins/pychrysalide/format/format.c @@ -614,8 +614,8 @@ static bool define_python_binary_format_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, BFE_SPECIFICATION); - result &= PyDict_AddIntMacro(obj_type, BFE_STRUCTURE); + result &= PyDict_AddULongMacro(obj_type, BFE_SPECIFICATION); + result &= PyDict_AddULongMacro(obj_type, BFE_STRUCTURE); return result; diff --git a/plugins/pychrysalide/format/strsym.c b/plugins/pychrysalide/format/strsym.c index f0f47d0..30224f8 100644 --- a/plugins/pychrysalide/format/strsym.c +++ b/plugins/pychrysalide/format/strsym.c @@ -161,11 +161,11 @@ static bool py_string_symbol_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, SET_ASCII); - result &= PyDict_AddIntMacro(obj_type, SET_UTF_8); - result &= PyDict_AddIntMacro(obj_type, SET_MUTF_8); + result &= PyDict_AddULongMacro(obj_type, SET_ASCII); + result &= PyDict_AddULongMacro(obj_type, SET_UTF_8); + result &= PyDict_AddULongMacro(obj_type, SET_MUTF_8); - result &= PyDict_AddIntMacro(obj_type, SET_GUESS); + result &= PyDict_AddULongMacro(obj_type, SET_GUESS); return result; diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c index f75f762..c948423 100644 --- a/plugins/pychrysalide/format/symbol.c +++ b/plugins/pychrysalide/format/symbol.c @@ -339,19 +339,19 @@ static bool py_binary_symbol_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, STP_DATA); - result &= PyDict_AddIntMacro(obj_type, STP_ROUTINE); - result &= PyDict_AddIntMacro(obj_type, STP_CODE_LABEL); - result &= PyDict_AddIntMacro(obj_type, STP_OBJECT); - result &= PyDict_AddIntMacro(obj_type, STP_ENTRY_POINT); - result &= PyDict_AddIntMacro(obj_type, STP_RO_STRING); - result &= PyDict_AddIntMacro(obj_type, STP_DYN_STRING); - result &= PyDict_AddIntMacro(obj_type, STP_COUNT); - - result &= PyDict_AddIntMacro(obj_type, SSS_INTERNAL); - result &= PyDict_AddIntMacro(obj_type, SSS_EXPORTED); - result &= PyDict_AddIntMacro(obj_type, SSS_IMPORTED); - result &= PyDict_AddIntMacro(obj_type, SSS_DYNAMIC); + result &= PyDict_AddULongMacro(obj_type, STP_DATA); + result &= PyDict_AddULongMacro(obj_type, STP_ROUTINE); + result &= PyDict_AddULongMacro(obj_type, STP_CODE_LABEL); + result &= PyDict_AddULongMacro(obj_type, STP_OBJECT); + result &= PyDict_AddULongMacro(obj_type, STP_ENTRY_POINT); + result &= PyDict_AddULongMacro(obj_type, STP_RO_STRING); + result &= PyDict_AddULongMacro(obj_type, STP_DYN_STRING); + result &= PyDict_AddULongMacro(obj_type, STP_COUNT); + + result &= PyDict_AddULongMacro(obj_type, SSS_INTERNAL); + result &= PyDict_AddULongMacro(obj_type, SSS_EXPORTED); + result &= PyDict_AddULongMacro(obj_type, SSS_IMPORTED); + result &= PyDict_AddULongMacro(obj_type, SSS_DYNAMIC); return result; |