diff options
Diffstat (limited to 'plugins/pychrysalide/glibext')
-rw-r--r-- | plugins/pychrysalide/glibext/bufferline.c | 34 | ||||
-rw-r--r-- | plugins/pychrysalide/glibext/loadedpanel.c | 8 |
2 files changed, 21 insertions, 21 deletions
diff --git a/plugins/pychrysalide/glibext/bufferline.c b/plugins/pychrysalide/glibext/bufferline.c index 5bc8449..40bbcbf 100644 --- a/plugins/pychrysalide/glibext/bufferline.c +++ b/plugins/pychrysalide/glibext/bufferline.c @@ -253,23 +253,23 @@ static bool py_buffer_line_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, BLC_PHYSICAL); - result &= PyDict_AddIntMacro(obj_type, BLC_VIRTUAL); - result &= PyDict_AddIntMacro(obj_type, BLC_BINARY); - result &= PyDict_AddIntMacro(obj_type, BLC_ASSEMBLY_HEAD); - result &= PyDict_AddIntMacro(obj_type, BLC_ASSEMBLY); - result &= PyDict_AddIntMacro(obj_type, BLC_COMMENTS); - result &= PyDict_AddIntMacro(obj_type, BLC_COUNT); - result &= PyDict_AddIntMacro(obj_type, BLC_LAST_USED); - result &= PyDict_AddIntMacro(obj_type, BLC_INVALID); - result &= PyDict_AddIntMacro(obj_type, BLC_MAIN); - result &= PyDict_AddIntMacro(obj_type, BLC_FIRST); - result &= PyDict_AddIntMacro(obj_type, BLC_DISPLAY); - - result &= PyDict_AddIntMacro(obj_type, BLF_NONE); - result &= PyDict_AddIntMacro(obj_type, BLF_HAS_CODE); - result &= PyDict_AddIntMacro(obj_type, BLF_ENTRYPOINT); - result &= PyDict_AddIntMacro(obj_type, BLF_BOOKMARK); + result &= PyDict_AddULongMacro(obj_type, BLC_PHYSICAL); + result &= PyDict_AddULongMacro(obj_type, BLC_VIRTUAL); + result &= PyDict_AddULongMacro(obj_type, BLC_BINARY); + result &= PyDict_AddULongMacro(obj_type, BLC_ASSEMBLY_HEAD); + result &= PyDict_AddULongMacro(obj_type, BLC_ASSEMBLY); + result &= PyDict_AddULongMacro(obj_type, BLC_COMMENTS); + result &= PyDict_AddULongMacro(obj_type, BLC_COUNT); + result &= PyDict_AddULongMacro(obj_type, BLC_LAST_USED); + result &= PyDict_AddULongMacro(obj_type, BLC_INVALID); + result &= PyDict_AddULongMacro(obj_type, BLC_MAIN); + result &= PyDict_AddULongMacro(obj_type, BLC_FIRST); + result &= PyDict_AddULongMacro(obj_type, BLC_DISPLAY); + + result &= PyDict_AddULongMacro(obj_type, BLF_NONE); + result &= PyDict_AddULongMacro(obj_type, BLF_HAS_CODE); + result &= PyDict_AddULongMacro(obj_type, BLF_ENTRYPOINT); + result &= PyDict_AddULongMacro(obj_type, BLF_BOOKMARK); return result; diff --git a/plugins/pychrysalide/glibext/loadedpanel.c b/plugins/pychrysalide/glibext/loadedpanel.c index 4dfb5c2..ce94b27 100644 --- a/plugins/pychrysalide/glibext/loadedpanel.c +++ b/plugins/pychrysalide/glibext/loadedpanel.c @@ -160,10 +160,10 @@ static bool py_loaded_panel_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, SPT_RAW); - result &= PyDict_AddIntMacro(obj_type, SPT_TOP); - result &= PyDict_AddIntMacro(obj_type, SPT_CENTER); - result &= PyDict_AddIntMacro(obj_type, SPT_BOTTOM); + result &= PyDict_AddULongMacro(obj_type, SPT_RAW); + result &= PyDict_AddULongMacro(obj_type, SPT_TOP); + result &= PyDict_AddULongMacro(obj_type, SPT_CENTER); + result &= PyDict_AddULongMacro(obj_type, SPT_BOTTOM); return result; |