summaryrefslogtreecommitdiff
path: root/gi/pygi-basictype.h
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-01-23 15:57:04 +0100
committerMathieu Duponchelle <mathieu@centricular.com>2018-01-23 23:36:41 +0100
commit80eab029ce4e181624d7b845a4b517051797080d (patch)
treed33fb39d31f00e0a2904bb97487a0890d0c5833c /gi/pygi-basictype.h
parent9d96df1ea3ad533885fbcae4de693a3cd81e765a (diff)
downloadpygobject-80eab029ce4e181624d7b845a4b517051797080d.tar.gz
to python marshalling: collect cleanup data
Similar to what is done for marshalling from python, we collect cleanup data that will then be passed on to the cleanup function.
Diffstat (limited to 'gi/pygi-basictype.h')
-rw-r--r--gi/pygi-basictype.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gi/pygi-basictype.h b/gi/pygi-basictype.h
index 466c7d4a..62f11c6f 100644
--- a/gi/pygi-basictype.h
+++ b/gi/pygi-basictype.h
@@ -43,7 +43,8 @@ PyObject *_pygi_marshal_to_py_basic_type (GIArgument *arg,
PyObject *_pygi_marshal_to_py_basic_type_cache_adapter (PyGIInvokeState *state,
PyGICallableCache *callable_cache,
PyGIArgCache *arg_cache,
- GIArgument *arg);
+ GIArgument *arg,
+ gpointer *cleanup_data);
PyGIArgCache *pygi_arg_basic_type_new_from_info (GITypeInfo *type_info,
GIArgInfo *arg_info, /* may be null */