summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-12-07 14:43:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-12-07 14:43:08 (GMT)
commit48ac5e6e8fe50c1ff4b9e77440a6365f8b01021f (patch)
tree14802b7a73329921a928017d721dd842272ffbe2 /plugins/pychrysa/format
parent2c988d3ec52cc4c949a35aca7ef335dac773df92 (diff)
Synchronised the Python bindings: made routines inherit from symbols.
Diffstat (limited to 'plugins/pychrysa/format')
-rw-r--r--plugins/pychrysa/format/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/format/symbol.c b/plugins/pychrysa/format/symbol.c
index e337ea1..b9ac13c 100644
--- a/plugins/pychrysa/format/symbol.c
+++ b/plugins/pychrysa/format/symbol.c
@@ -361,7 +361,7 @@ PyTypeObject *get_python_binary_symbol_type(void)
.tp_name = "pychrysalide.format.BinSymbol",
.tp_basicsize = sizeof(PyGObject),
- .tp_flags = Py_TPFLAGS_DEFAULT,
+ .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
.tp_doc = "PyChrysalide binary symbol",