diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-22 18:28:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-22 18:34:46 (GMT) |
commit | c1bcf3e7bd0a256005bd15832117b78cee5fdfab (patch) | |
tree | 54188ab3933526ca79ae3e8f86dd99adad49e681 /plugins/pychrysalide/arch/operands | |
parent | 3a8bc79d69acae3735cc0203b54d93b4137caa09 (diff) |
Allowed to initialize instances of created dynamic types if needed.
Diffstat (limited to 'plugins/pychrysalide/arch/operands')
-rw-r--r-- | plugins/pychrysalide/arch/operands/register.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/arch/operands/register.c b/plugins/pychrysalide/arch/operands/register.c index 74b6a4f..8144af0 100644 --- a/plugins/pychrysalide/arch/operands/register.c +++ b/plugins/pychrysalide/arch/operands/register.c @@ -100,8 +100,8 @@ static PyObject *py_register_operand_new(PyTypeObject *type, PyObject *args, PyO first_time = (g_type_from_name(type->tp_name) == 0); - gtype = built_dynamic_type(G_TYPE_REGISTER_OPERAND, type->tp_name, - (GClassInitFunc)py_register_operand_init_gclass, NULL); + gtype = build_dynamic_type(G_TYPE_REGISTER_OPERAND, type->tp_name, + (GClassInitFunc)py_register_operand_init_gclass, NULL, NULL); if (first_time) { |