summaryrefslogtreecommitdiff
path: root/plugins/dex
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dex')
-rw-r--r--plugins/dex/python/constants.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/dex/python/constants.c b/plugins/dex/python/constants.c
index ac50eb8..3e77fd6 100644
--- a/plugins/dex/python/constants.c
+++ b/plugins/dex/python/constants.c
@@ -56,25 +56,25 @@ static bool define_python_dex_format_common_constants(PyTypeObject *obj_type)
/* Définition des drapeaux d'accès */
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_PUBLIC);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_PRIVATE);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_PROTECTED);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_STATIC);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_FINAL);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_SYNCHRONIZED);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_VOLATILE);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_BRIDGE);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_TRANSIENT);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_VARARGS);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_NATIVE);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_INTERFACE);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_ABSTRACT);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_STRICT);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_SYNTHETIC);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_ANNOTATION);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_ENUM);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_CONSTRUCTOR);
- if (result) result = PyDict_AddIntMacro(obj_type, ACC_DECLARED_SYNCHRONIZED);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_PUBLIC);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_PRIVATE);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_PROTECTED);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_STATIC);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_FINAL);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_SYNCHRONIZED);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_VOLATILE);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_BRIDGE);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_TRANSIENT);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_VARARGS);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_NATIVE);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_INTERFACE);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_ABSTRACT);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_STRICT);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_SYNTHETIC);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_ANNOTATION);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_ENUM);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_CONSTRUCTOR);
+ if (result) result = PyDict_AddULongMacro(obj_type, ACC_DECLARED_SYNCHRONIZED);
return result;