summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/plugin.c')
-rw-r--r--plugins/pychrysalide/plugin.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/plugins/pychrysalide/plugin.c b/plugins/pychrysalide/plugin.c
index fb2044d..6b6060d 100644
--- a/plugins/pychrysalide/plugin.c
+++ b/plugins/pychrysalide/plugin.c
@@ -742,34 +742,34 @@ static bool py_plugin_module_define_constants(PyTypeObject *obj_type)
result = true;
- result &= PyDict_AddIntMacro(obj_type, PGA_BASIC_NONE);
-
- result &= PyDict_AddIntMacro(obj_type, PGA_PLUGIN_INIT);
- result &= PyDict_AddIntMacro(obj_type, PGA_PLUGIN_EXIT);
-
- result &= PyDict_AddIntMacro(obj_type, PGA_CONTENT_EXPLORER);
- result &= PyDict_AddIntMacro(obj_type, PGA_CONTENT_RESOLVER);
- result &= PyDict_AddIntMacro(obj_type, PGA_CONTENT_ANALYZED);
-
- result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_ANALYSIS_STARTED);
- result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_PRELOAD);
- result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_ATTACH_DEBUG);
- result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_ANALYSIS_ENDED);
- result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_POST_ANALYSIS_STARTED);
- result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_POST_ANALYSIS_ENDED);
-
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_STARTED);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_RAW);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_HOOKED_LINK);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_HOOKED_POST);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_LIMITED);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_LOOPS);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_LINKED);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_GROUPED);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_RANKED);
- result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_ENDED);
-
- result &= PyDict_AddIntMacro(obj_type, PGA_DETECTION_OBFUSCATORS);
+ result &= PyDict_AddULongMacro(obj_type, PGA_BASIC_NONE);
+
+ result &= PyDict_AddULongMacro(obj_type, PGA_PLUGIN_INIT);
+ result &= PyDict_AddULongMacro(obj_type, PGA_PLUGIN_EXIT);
+
+ result &= PyDict_AddULongMacro(obj_type, PGA_CONTENT_EXPLORER);
+ result &= PyDict_AddULongMacro(obj_type, PGA_CONTENT_RESOLVER);
+ result &= PyDict_AddULongMacro(obj_type, PGA_CONTENT_ANALYZED);
+
+ result &= PyDict_AddULongMacro(obj_type, PGA_FORMAT_ANALYSIS_STARTED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_FORMAT_PRELOAD);
+ result &= PyDict_AddULongMacro(obj_type, PGA_FORMAT_ATTACH_DEBUG);
+ result &= PyDict_AddULongMacro(obj_type, PGA_FORMAT_ANALYSIS_ENDED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_FORMAT_POST_ANALYSIS_STARTED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_FORMAT_POST_ANALYSIS_ENDED);
+
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_STARTED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_RAW);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_HOOKED_LINK);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_HOOKED_POST);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_LIMITED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_LOOPS);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_LINKED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_GROUPED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_RANKED);
+ result &= PyDict_AddULongMacro(obj_type, PGA_DISASSEMBLY_ENDED);
+
+ result &= PyDict_AddULongMacro(obj_type, PGA_DETECTION_OBFUSCATORS);
return result;