[glib/ebassi/for-main] doc: Correctly annotate g_async_queue_push()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/ebassi/for-main] doc: Correctly annotate g_async_queue_push()
- Date: Thu, 13 Oct 2022 22:45:02 +0000 (UTC)
commit 3645f21b1daaae8014d0e66c1d4d670bc7674dbc
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Oct 13 23:44:11 2022 +0100
doc: Correctly annotate g_async_queue_push()
Generic pointers are assumed to be nullable unless explicitly marked as
not nullable.
glib/gasyncqueue.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c
index c824751afc..6cb0e05ec5 100644
--- a/glib/gasyncqueue.c
+++ b/glib/gasyncqueue.c
@@ -281,9 +281,11 @@ g_async_queue_unlock (GAsyncQueue *queue)
/**
* g_async_queue_push:
* @queue: a #GAsyncQueue
- * @data: @data to push into the @queue
+ * @data: (not nullable): data to push onto the @queue
*
- * Pushes the @data into the @queue. @data must not be %NULL.
+ * Pushes the @data into the @queue.
+ *
+ * The @data must not be %NULL.
*/
void
g_async_queue_push (GAsyncQueue *queue,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]