summaryrefslogtreecommitdiff
path: root/gi/pygi-invoke-state-struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pygi-invoke-state-struct.h')
-rw-r--r--gi/pygi-invoke-state-struct.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gi/pygi-invoke-state-struct.h b/gi/pygi-invoke-state-struct.h
index a4072b7..1d9e49c 100644
--- a/gi/pygi-invoke-state-struct.h
+++ b/gi/pygi-invoke-state-struct.h
@@ -18,6 +18,10 @@ typedef struct _PyGIInvokeState
GIArgument **args;
GIArgument *in_args;
+ /* Generic array allocated to the same length as args
+ * for use as extra per-arg state data. */
+ gpointer *args_data;
+
/* Out args and out values
* In order to pass a parameter and get something back out in C
* we need to pass a pointer to the value, e.g.
@@ -37,6 +41,8 @@ typedef struct _PyGIInvokeState
GError *error;
gboolean failed;
+
+ gpointer user_data;
} PyGIInvokeState;
G_END_DECLS