[gobject-introspection] girepository: Annotate array and array-length parameter



commit e6f06c2d3fa75c1329a88758ed067db166dcfec7
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Dec 10 21:42:28 2016 +0100

    girepository: Annotate array and array-length parameter

 girepository/gicallableinfo.c |    4 ++--
 girepository/gifunctioninfo.c |    4 ++--
 girepository/givfuncinfo.c    |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/girepository/gicallableinfo.c b/girepository/gicallableinfo.c
index 4ffb46d..bfbcc25 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 ece9481..b572024 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 c16fb01..f20bfb0 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]