summaryrefslogtreecommitdiff
path: root/gio/gsocketaddressenumerator.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2010-12-29 13:51:44 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2010-12-29 16:02:23 +0100
commit975b0d4487809270100efce56270314d816e3073 (patch)
treef858ca8a1c0fd3282f50f6ff62ede9c1b5bec3d3 /gio/gsocketaddressenumerator.c
parent571104bcc384c30054b507cab8e9d9a5f1166c45 (diff)
downloadglib-975b0d4487809270100efce56270314d816e3073.tar.gz
Add GI annotations to Gio lowlevel network support classes
Diffstat (limited to 'gio/gsocketaddressenumerator.c')
-rw-r--r--gio/gsocketaddressenumerator.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gio/gsocketaddressenumerator.c b/gio/gsocketaddressenumerator.c
index 1886f3602..2193860bf 100644
--- a/gio/gsocketaddressenumerator.c
+++ b/gio/gsocketaddressenumerator.c
@@ -50,7 +50,7 @@ g_socket_address_enumerator_class_init (GSocketAddressEnumeratorClass *enumerato
/**
* g_socket_address_enumerator_next:
* @enumerator: a #GSocketAddressEnumerator
- * @cancellable: optional #GCancellable object, %NULL to ignore.
+ * @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore.
* @error: a #GError.
*
* Retrieves the next #GSocketAddress from @enumerator. Note that this
@@ -115,9 +115,10 @@ g_socket_address_enumerator_real_next_async (GSocketAddressEnumerator *enumerato
/**
* g_socket_address_enumerator_next_async:
* @enumerator: a #GSocketAddressEnumerator
- * @cancellable: optional #GCancellable object, %NULL to ignore.
- * @callback: a #GAsyncReadyCallback to call when the request is satisfied
- * @user_data: the data to pass to callback function
+ * @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore.
+ * @callback: (scope async): a #GAsyncReadyCallback to call when the request
+ * is satisfied
+ * @user_data: (closure): the data to pass to callback function
*
* Asynchronously retrieves the next #GSocketAddress from @enumerator
* and then calls @callback, which must call