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/format/strsym.c | |
parent | 0c6e15aa59918b7d3a1e63258e3f6792266d62e0 (diff) |
Renamed the function registering C constant values into Python objects.
Diffstat (limited to 'plugins/pychrysalide/format/strsym.c')
-rw-r--r-- | plugins/pychrysalide/format/strsym.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |