summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-09-15 10:27:27 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2016-09-15 10:27:27 +0200
commit93c62e710bdfbdf334b1abb3e8e34612231527d1 (patch)
treef5b952c659dcb3fc452a699118eb4d739a945de2
parentbe06193bc9eceadf75f7f7bdf22986efe81b5861 (diff)
downloadgobject-introspection-93c62e710bdfbdf334b1abb3e8e34612231527d1.tar.gz
girepository: Annotate iterator arguments as (inout)
-rw-r--r--girepository/gibaseinfo.c2
-rw-r--r--girepository/gicallableinfo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/girepository/gibaseinfo.c b/girepository/gibaseinfo.c
index 5d9e5f37..ced7674e 100644
--- a/girepository/gibaseinfo.c
+++ b/girepository/gibaseinfo.c
@@ -558,7 +558,7 @@ _attribute_blob_find_first (GIBaseInfo *info,
/**
* g_base_info_iterate_attributes:
* @info: a #GIBaseInfo
- * @iterator: a #GIAttributeIter structure, must be initialized; see below
+ * @iterator: (inout): a #GIAttributeIter structure, must be initialized; see below
* @name: (out) (transfer none): Returned name, must not be freed
* @value: (out) (transfer none): Returned name, must not be freed
*
diff --git a/girepository/gicallableinfo.c b/girepository/gicallableinfo.c
index 27c7cb2f..4ffb46de 100644
--- a/girepository/gicallableinfo.c
+++ b/girepository/gicallableinfo.c
@@ -424,7 +424,7 @@ g_callable_info_get_return_attribute (GICallableInfo *info,
/**
* g_callable_info_iterate_return_attributes:
* @info: a #GICallableInfo
- * @iterator: a #GIAttributeIter structure, must be initialized; see below
+ * @iterator: (inout): a #GIAttributeIter structure, must be initialized; see below
* @name: (out) (transfer none): Returned name, must not be freed
* @value: (out) (transfer none): Returned name, must not be freed
*