summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/analysis
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/analysis
parent2c988d3ec52cc4c949a35aca7ef335dac773df92 (diff)
Synchronised the Python bindings: made routines inherit from symbols.
Diffstat (limited to 'plugins/pychrysa/analysis')
-rw-r--r--plugins/pychrysa/analysis/routine.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/pychrysa/analysis/routine.c b/plugins/pychrysa/analysis/routine.c
index 98be3a2..1151b96 100644
--- a/plugins/pychrysa/analysis/routine.c
+++ b/plugins/pychrysa/analysis/routine.c
@@ -38,6 +38,7 @@
#include "block.h"
#include "../helpers.h"
+#include "../format/symbol.h"
@@ -285,7 +286,8 @@ bool register_python_binary_routine(PyObject *module)
dict = PyModule_GetDict(module);
- if (!register_class_for_pygobject(dict, G_TYPE_BIN_ROUTINE, py_binary_routine_type, &PyGObject_Type))
+ if (!register_class_for_pygobject(dict, G_TYPE_BIN_ROUTINE,
+ py_binary_routine_type, get_python_binary_symbol_type()))
return false;
return true;