summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/constants.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-03-17 07:36:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-03-17 07:36:58 (GMT)
commita28e1b94a83bee9a2424ab84818a5547eafaf0cf (patch)
treeecaf5556433afd4f19f4bfcbf378cdde3f619e51 /plugins/pychrysalide/constants.h
parentb18c64b69c8c048c640b5d9f6c45b1cfda605ae8 (diff)
Restore the definition of main operands.gtk4
Diffstat (limited to 'plugins/pychrysalide/constants.h')
-rw-r--r--plugins/pychrysalide/constants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pychrysalide/constants.h b/plugins/pychrysalide/constants.h
index 332afe0..151f1eb 100644
--- a/plugins/pychrysalide/constants.h
+++ b/plugins/pychrysalide/constants.h
@@ -46,6 +46,9 @@ int convert_to_source_endian(PyObject *, void *);
/* Tente de convertir en constante MemoryDataSize. */
int convert_to_memory_data_size(PyObject *, void *);
+#define cast_memory_data_size_to_python(v) \
+ cast_with_constants_group_from_module("pychrysalide", "MemoryDataSize", v)
+
#endif /* _PLUGINS_PYCHRYSALIDE_CONSTANTS_H */