Commit 83208bf4 authored by Simon Feltman's avatar Simon Feltman
Browse files

cache refactoring: Add comments to callable cache structure

Add comments to count fields on _PyGICallableCache.

https://bugzilla.gnome.org/show_bug.cgi?id=640812
parent 0a8d5695
......@@ -177,12 +177,23 @@ struct _PyGICallableCache
GSList *arg_name_list; /* for keyword arg matching */
GHashTable *arg_name_hash;
/* counts */
/* Number of in args passed to g_function_info_invoke.
* This is used for the length of PyGIInvokeState.in_args */
gssize n_from_py_args;
/* Number of out args passed to g_function_info_invoke.
* This is used for the length of PyGIInvokeState.out_values */
gssize n_to_py_args;
/* Number of out args for g_function_info_invoke that will be skipped
* when marshaling to Python due to them being implicitly available
* (list/array length).
*/
gssize n_to_py_child_args;
gssize n_args;
/* Number of Python arguments expected for invoking the gi function. */
gssize n_py_args;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment