summaryrefslogtreecommitdiff
path: root/gi/pygi-enum-marshal.c
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-02-15 23:32:20 +0100
committerMathieu Duponchelle <mathieu@centricular.com>2018-02-16 17:56:16 +0100
commitb1d1c8d9d8820fe405bddd8e9dea88b5ec2fcce2 (patch)
treec6004b09bea7cba115790ebf888f5442d4175850 /gi/pygi-enum-marshal.c
parent26b7fc3fee55870cc944b0f718da8a75c75f4eae (diff)
downloadpygobject-b1d1c8d9d8820fe405bddd8e9dea88b5ec2fcce2.tar.gz
Revert "Revert "to python marshalling: collect cleanup data""
This reverts commit fa555767464fbe551b14cfbc121febc5290b1371.
Diffstat (limited to 'gi/pygi-enum-marshal.c')
-rw-r--r--gi/pygi-enum-marshal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gi/pygi-enum-marshal.c b/gi/pygi-enum-marshal.c
index 44eb0097..fe6c7d72 100644
--- a/gi/pygi-enum-marshal.c
+++ b/gi/pygi-enum-marshal.c
@@ -225,7 +225,8 @@ static PyObject *
_pygi_marshal_to_py_interface_enum (PyGIInvokeState *state,
PyGICallableCache *callable_cache,
PyGIArgCache *arg_cache,
- GIArgument *arg)
+ GIArgument *arg,
+ gpointer *cleanup_data)
{
PyObject *py_obj = NULL;
PyGIInterfaceCache *iface_cache = (PyGIInterfaceCache *)arg_cache;
@@ -253,7 +254,8 @@ static PyObject *
_pygi_marshal_to_py_interface_flags (PyGIInvokeState *state,
PyGICallableCache *callable_cache,
PyGIArgCache *arg_cache,
- GIArgument *arg)
+ GIArgument *arg,
+ gpointer *cleanup_data)
{
PyObject *py_obj = NULL;
PyGIInterfaceCache *iface_cache = (PyGIInterfaceCache *)arg_cache;