summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysa/format/format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/pychrysa/format/format.c b/plugins/pychrysa/format/format.c
index 773b928..41dab9d 100644
--- a/plugins/pychrysa/format/format.c
+++ b/plugins/pychrysa/format/format.c
@@ -676,6 +676,7 @@ static bool define_python_binary_format_constants(PyTypeObject *obj_type)
result = true;
+ result &= PyDict_AddIntMacro(obj_type, BFE_SPECIFICATION);
result &= PyDict_AddIntMacro(obj_type, BFE_STRUCTURE);
return result;