1 #ifndef __PYGI_INVOKE_STATE_STRUCT_H__
2 #define __PYGI_INVOKE_STATE_STRUCT_H__
6 #include <girepository.h>
10 typedef struct _PyGIInvokeState
16 GType implementor_gtype;
21 /* Generic array allocated to the same length as args
22 * for use as extra per-arg state data. */
25 /* Out args and out values
26 * In order to pass a parameter and get something back out in C
27 * we need to pass a pointer to the value, e.g.
30 * so while out_args == out_integer, out_value == *out_integer
31 * or in other words out_args = &out_values
33 * We do all of our processing on out_values but we pass out_args to
34 * the actual function.
37 GIArgument *out_values;
39 GIArgument return_arg;