summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/arch/vmpa.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/arch/vmpa.c')
-rw-r--r--plugins/pychrysa/arch/vmpa.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/pychrysa/arch/vmpa.c b/plugins/pychrysa/arch/vmpa.c
index 350f61b..65e0387 100644
--- a/plugins/pychrysa/arch/vmpa.c
+++ b/plugins/pychrysa/arch/vmpa.c
@@ -34,6 +34,11 @@
+#include <common/endianness.h> /* TODO : à bouger vers base ? */
+
+
+
+
/* ---------------------- DEFINITION D'UNE POSITION EN MEMOIRE ---------------------- */
@@ -526,6 +531,11 @@ static bool py_vmpa_define_constants(PyTypeObject *obj_type)
result &= PyDict_AddIntMacro(obj_type, VMPA_NO_PHYSICAL);
result &= PyDict_AddIntMacro(obj_type, VMPA_NO_VIRTUAL);
+ /* TODO : à bouger vers base ? */
+ result &= PyDict_AddIntMacro(obj_type, SRE_LITTLE);
+ result &= PyDict_AddIntMacro(obj_type, SRE_MIDDLE);
+ result &= PyDict_AddIntMacro(obj_type, SRE_BIG);
+
return result;
}