summaryrefslogtreecommitdiff
path: root/gi/pygi-invoke-state-struct.h
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-invoke-state-struct.h
parent26b7fc3fee55870cc944b0f718da8a75c75f4eae (diff)
downloadpygobject-b1d1c8d9d8820fe405bddd8e9dea88b5ec2fcce2.tar.gz
Revert "Revert "to python marshalling: collect cleanup data""
This reverts commit fa555767464fbe551b14cfbc121febc5290b1371.
Diffstat (limited to 'gi/pygi-invoke-state-struct.h')
-rw-r--r--gi/pygi-invoke-state-struct.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gi/pygi-invoke-state-struct.h b/gi/pygi-invoke-state-struct.h
index 64711cb1..dbf4e665 100644
--- a/gi/pygi-invoke-state-struct.h
+++ b/gi/pygi-invoke-state-struct.h
@@ -20,6 +20,8 @@ typedef struct _PyGIInvokeArgState
/* Holds from_py marshaler cleanup data. */
gpointer arg_cleanup_data;
+ /* Holds to_py marshaler cleanup data. */
+ gpointer to_py_arg_cleanup_data;
} PyGIInvokeArgState;
@@ -45,6 +47,7 @@ typedef struct _PyGIInvokeState
/* Memory to receive the result of the C ffi function call. */
GIArgument return_arg;
+ gpointer to_py_return_arg_cleanup_data;
/* A GError exception which is indirectly bound into the last position of
* the "args" array if the callable caches "throws" member is set.