summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-12-10 21:42:28 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2016-12-10 21:44:00 +0100
commite6f06c2d3fa75c1329a88758ed067db166dcfec7 (patch)
tree53941e5f30420b0929f2a72dd8f5b760092ef0dd
parenteea2447c4e4c1c98fda3ba212a9a9bbcc8655c90 (diff)
downloadgobject-introspection-e6f06c2d3fa75c1329a88758ed067db166dcfec7.tar.gz
girepository: Annotate array and array-length parameter
-rw-r--r--girepository/gicallableinfo.c4
-rw-r--r--girepository/gifunctioninfo.c4
-rw-r--r--girepository/givfuncinfo.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/girepository/gicallableinfo.c b/girepository/gicallableinfo.c
index 4ffb46de..bfbcc255 100644
--- a/girepository/gicallableinfo.c
+++ b/girepository/gicallableinfo.c
@@ -552,9 +552,9 @@ gi_type_info_extract_ffi_return_value (GITypeInfo *return_info,
* g_callable_info_invoke:
* @info: TODO
* @function: TODO
- * @in_args: TODO
+ * @in_args: (array length=n_in_args): TODO
* @n_in_args: TODO
- * @out_args: TODO
+ * @out_args: (array length=n_out_args): TODO
* @n_out_args: TODO
* @return_value: TODO
* @is_method: TODO
diff --git a/girepository/gifunctioninfo.c b/girepository/gifunctioninfo.c
index ece94818..b5720244 100644
--- a/girepository/gifunctioninfo.c
+++ b/girepository/gifunctioninfo.c
@@ -226,11 +226,11 @@ g_invoke_error_quark (void)
/**
* g_function_info_invoke: (skip)
* @info: a #GIFunctionInfo describing the function to invoke
- * @in_args: an array of #GIArgument<!-- -->s, one for each in
+ * @in_args: (array length=n_in_args): an array of #GIArgument<!-- -->s, one for each in
* parameter of @info. If there are no in parameter, @in_args
* can be %NULL
* @n_in_args: the length of the @in_args array
- * @out_args: an array of #GIArgument<!-- -->s, one for each out
+ * @out_args: (array length=n_out_args): an array of #GIArgument<!-- -->s, one for each out
* parameter of @info. If there are no out parameters, @out_args
* may be %NULL
* @n_out_args: the length of the @out_args array
diff --git a/girepository/givfuncinfo.c b/girepository/givfuncinfo.c
index c16fb01d..f20bfb06 100644
--- a/girepository/givfuncinfo.c
+++ b/girepository/givfuncinfo.c
@@ -305,11 +305,11 @@ g_vfunc_info_get_address (GIVFuncInfo *vfunc_info,
* g_vfunc_info_invoke: (skip)
* @info: a #GIVFuncInfo describing the virtual function to invoke
* @implementor: #GType of the type that implements this virtual function
- * @in_args: an array of #GIArgument<!-- -->s, one for each in
+ * @in_args: (array length=n_in_args): an array of #GIArgument<!-- -->s, one for each in
* parameter of @info. If there are no in parameter, @in_args
* can be %NULL
* @n_in_args: the length of the @in_args array
- * @out_args: an array of #GIArgument<!-- -->s, one for each out
+ * @out_args: (array length=n_out_args): an array of #GIArgument<!-- -->s, one for each out
* parameter of @info. If there are no out parameters, @out_args
* may be %NULL
* @n_out_args: the length of the @out_args array