diff options
Diffstat (limited to 'plugins/pychrysalide/analysis')
-rw-r--r-- | plugins/pychrysalide/analysis/type.c | 10 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/basic.c | 58 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/cse.c | 18 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/encaps.c | 12 |
4 files changed, 49 insertions, 49 deletions
diff --git a/plugins/pychrysalide/analysis/type.c b/plugins/pychrysalide/analysis/type.c index ea81642..0134b0a 100644 --- a/plugins/pychrysalide/analysis/type.c +++ b/plugins/pychrysalide/analysis/type.c @@ -406,12 +406,12 @@ static bool py_data_type_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, TQF_NONE); - result &= PyDict_AddIntMacro(obj_type, TQF_RESTRICT); - result &= PyDict_AddIntMacro(obj_type, TQF_VOLATILE); - result &= PyDict_AddIntMacro(obj_type, TQF_CONST); + result &= PyDict_AddULongMacro(obj_type, TQF_NONE); + result &= PyDict_AddULongMacro(obj_type, TQF_RESTRICT); + result &= PyDict_AddULongMacro(obj_type, TQF_VOLATILE); + result &= PyDict_AddULongMacro(obj_type, TQF_CONST); - result &= PyDict_AddIntMacro(obj_type, TQF_ALL); + result &= PyDict_AddULongMacro(obj_type, TQF_ALL); return result; diff --git a/plugins/pychrysalide/analysis/types/basic.c b/plugins/pychrysalide/analysis/types/basic.c index 1bb294b..e421389 100644 --- a/plugins/pychrysalide/analysis/types/basic.c +++ b/plugins/pychrysalide/analysis/types/basic.c @@ -184,35 +184,35 @@ static bool py_basic_type_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, BTP_VOID); - result &= PyDict_AddIntMacro(obj_type, BTP_WCHAR_T); - result &= PyDict_AddIntMacro(obj_type, BTP_BOOL); - result &= PyDict_AddIntMacro(obj_type, BTP_CHAR); - result &= PyDict_AddIntMacro(obj_type, BTP_SCHAR); - result &= PyDict_AddIntMacro(obj_type, BTP_UCHAR); - result &= PyDict_AddIntMacro(obj_type, BTP_SHORT); - result &= PyDict_AddIntMacro(obj_type, BTP_USHORT); - result &= PyDict_AddIntMacro(obj_type, BTP_INT); - result &= PyDict_AddIntMacro(obj_type, BTP_UINT); - result &= PyDict_AddIntMacro(obj_type, BTP_LONG); - result &= PyDict_AddIntMacro(obj_type, BTP_ULONG); - result &= PyDict_AddIntMacro(obj_type, BTP_LONG_LONG); - result &= PyDict_AddIntMacro(obj_type, BTP_ULONG_LONG); - result &= PyDict_AddIntMacro(obj_type, BTP_INT128); - result &= PyDict_AddIntMacro(obj_type, BTP_UINT128); - result &= PyDict_AddIntMacro(obj_type, BTP_FLOAT); - result &= PyDict_AddIntMacro(obj_type, BTP_DOUBLE); - result &= PyDict_AddIntMacro(obj_type, BTP_LONG_DOUBLE); - result &= PyDict_AddIntMacro(obj_type, BTP_FLOAT128); - result &= PyDict_AddIntMacro(obj_type, BTP_ELLIPSIS); - result &= PyDict_AddIntMacro(obj_type, BTP_754R_64); - result &= PyDict_AddIntMacro(obj_type, BTP_754R_128); - result &= PyDict_AddIntMacro(obj_type, BTP_754R_32); - result &= PyDict_AddIntMacro(obj_type, BTP_754R_16); - result &= PyDict_AddIntMacro(obj_type, BTP_CHAR32_T); - result &= PyDict_AddIntMacro(obj_type, BTP_CHAR16_T); - - result &= PyDict_AddIntMacro(obj_type, BTP_INVALID); + result &= PyDict_AddULongMacro(obj_type, BTP_VOID); + result &= PyDict_AddULongMacro(obj_type, BTP_WCHAR_T); + result &= PyDict_AddULongMacro(obj_type, BTP_BOOL); + result &= PyDict_AddULongMacro(obj_type, BTP_CHAR); + result &= PyDict_AddULongMacro(obj_type, BTP_SCHAR); + result &= PyDict_AddULongMacro(obj_type, BTP_UCHAR); + result &= PyDict_AddULongMacro(obj_type, BTP_SHORT); + result &= PyDict_AddULongMacro(obj_type, BTP_USHORT); + result &= PyDict_AddULongMacro(obj_type, BTP_INT); + result &= PyDict_AddULongMacro(obj_type, BTP_UINT); + result &= PyDict_AddULongMacro(obj_type, BTP_LONG); + result &= PyDict_AddULongMacro(obj_type, BTP_ULONG); + result &= PyDict_AddULongMacro(obj_type, BTP_LONG_LONG); + result &= PyDict_AddULongMacro(obj_type, BTP_ULONG_LONG); + result &= PyDict_AddULongMacro(obj_type, BTP_INT128); + result &= PyDict_AddULongMacro(obj_type, BTP_UINT128); + result &= PyDict_AddULongMacro(obj_type, BTP_FLOAT); + result &= PyDict_AddULongMacro(obj_type, BTP_DOUBLE); + result &= PyDict_AddULongMacro(obj_type, BTP_LONG_DOUBLE); + result &= PyDict_AddULongMacro(obj_type, BTP_FLOAT128); + result &= PyDict_AddULongMacro(obj_type, BTP_ELLIPSIS); + result &= PyDict_AddULongMacro(obj_type, BTP_754R_64); + result &= PyDict_AddULongMacro(obj_type, BTP_754R_128); + result &= PyDict_AddULongMacro(obj_type, BTP_754R_32); + result &= PyDict_AddULongMacro(obj_type, BTP_754R_16); + result &= PyDict_AddULongMacro(obj_type, BTP_CHAR32_T); + result &= PyDict_AddULongMacro(obj_type, BTP_CHAR16_T); + + result &= PyDict_AddULongMacro(obj_type, BTP_INVALID); return result; diff --git a/plugins/pychrysalide/analysis/types/cse.c b/plugins/pychrysalide/analysis/types/cse.c index 4643a8d..5f0bb0a 100644 --- a/plugins/pychrysalide/analysis/types/cse.c +++ b/plugins/pychrysalide/analysis/types/cse.c @@ -222,15 +222,15 @@ static bool py_class_enum_type_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, CET_UNKNOWN); - result &= PyDict_AddIntMacro(obj_type, CET_STRUCT); - result &= PyDict_AddIntMacro(obj_type, CET_ENUM); - result &= PyDict_AddIntMacro(obj_type, CET_CLASS); - result &= PyDict_AddIntMacro(obj_type, CET_NAMESPACE); - result &= PyDict_AddIntMacro(obj_type, CET_VIRTUAL_TABLE); - result &= PyDict_AddIntMacro(obj_type, CET_VIRTUAL_STRUCT); - - result &= PyDict_AddIntMacro(obj_type, CET_COUNT); + result &= PyDict_AddULongMacro(obj_type, CET_UNKNOWN); + result &= PyDict_AddULongMacro(obj_type, CET_STRUCT); + result &= PyDict_AddULongMacro(obj_type, CET_ENUM); + result &= PyDict_AddULongMacro(obj_type, CET_CLASS); + result &= PyDict_AddULongMacro(obj_type, CET_NAMESPACE); + result &= PyDict_AddULongMacro(obj_type, CET_VIRTUAL_TABLE); + result &= PyDict_AddULongMacro(obj_type, CET_VIRTUAL_STRUCT); + + result &= PyDict_AddULongMacro(obj_type, CET_COUNT); return result; diff --git a/plugins/pychrysalide/analysis/types/encaps.c b/plugins/pychrysalide/analysis/types/encaps.c index 2961853..c2d435c 100644 --- a/plugins/pychrysalide/analysis/types/encaps.c +++ b/plugins/pychrysalide/analysis/types/encaps.c @@ -217,13 +217,13 @@ static bool py_encapsulated_type_define_constants(PyTypeObject *obj_type) result = true; - result &= PyDict_AddIntMacro(obj_type, ECT_POINTER); - result &= PyDict_AddIntMacro(obj_type, ECT_REFERENCE); - result &= PyDict_AddIntMacro(obj_type, ECT_RVALUE_REF); - result &= PyDict_AddIntMacro(obj_type, ECT_COMPLEX); - result &= PyDict_AddIntMacro(obj_type, ECT_IMAGINARY); + result &= PyDict_AddULongMacro(obj_type, ECT_POINTER); + result &= PyDict_AddULongMacro(obj_type, ECT_REFERENCE); + result &= PyDict_AddULongMacro(obj_type, ECT_RVALUE_REF); + result &= PyDict_AddULongMacro(obj_type, ECT_COMPLEX); + result &= PyDict_AddULongMacro(obj_type, ECT_IMAGINARY); - result &= PyDict_AddIntMacro(obj_type, ECT_COUNT); + result &= PyDict_AddULongMacro(obj_type, ECT_COUNT); return result; |