diff options
| author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-02-15 23:32:20 +0100 |
|---|---|---|
| committer | Mathieu Duponchelle <mathieu@centricular.com> | 2018-02-16 17:56:16 +0100 |
| commit | b1d1c8d9d8820fe405bddd8e9dea88b5ec2fcce2 (patch) | |
| tree | c6004b09bea7cba115790ebf888f5442d4175850 /gi/pygi-struct-marshal.c | |
| parent | 26b7fc3fee55870cc944b0f718da8a75c75f4eae (diff) | |
| download | pygobject-b1d1c8d9d8820fe405bddd8e9dea88b5ec2fcce2.tar.gz | |
Revert "Revert "to python marshalling: collect cleanup data""
This reverts commit fa555767464fbe551b14cfbc121febc5290b1371.
Diffstat (limited to 'gi/pygi-struct-marshal.c')
| -rw-r--r-- | gi/pygi-struct-marshal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gi/pygi-struct-marshal.c b/gi/pygi-struct-marshal.c index d594239f..f1b9f13b 100644 --- a/gi/pygi-struct-marshal.c +++ b/gi/pygi-struct-marshal.c @@ -435,7 +435,8 @@ static PyObject * arg_struct_to_py_marshal_adapter (PyGIInvokeState *state, PyGICallableCache *callable_cache, PyGIArgCache *arg_cache, - GIArgument *arg) + GIArgument *arg, + gpointer *cleanup_data) { PyGIInterfaceCache *iface_cache = (PyGIInterfaceCache *)arg_cache; @@ -451,7 +452,7 @@ arg_struct_to_py_marshal_adapter (PyGIInvokeState *state, static void arg_foreign_to_py_cleanup (PyGIInvokeState *state, PyGIArgCache *arg_cache, - PyObject *dummy, + gpointer cleanup_data, gpointer data, gboolean was_processed) { |
