[glib: 1/2] gasyncqueue: Add missing (nullable) annotation to free function
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gasyncqueue: Add missing (nullable) annotation to free function
- Date: Thu, 1 Jul 2021 16:53:55 +0000 (UTC)
commit 04e629e3fe60d61423b9e4fd13105b5c1a660833
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Jul 1 17:35:57 2021 +0100
gasyncqueue: Add missing (nullable) annotation to free function
As spotted by Nitin Wartkar in
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2170#note_1195878.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
glib/gasyncqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c
index a452617fd..db053f399 100644
--- a/glib/gasyncqueue.c
+++ b/glib/gasyncqueue.c
@@ -123,7 +123,7 @@ g_async_queue_new (void)
/**
* g_async_queue_new_full:
- * @item_free_func: function to free queue elements
+ * @item_free_func: (nullable): function to free queue elements
*
* Creates a new asynchronous queue and sets up a destroy notify
* function that is used to free any remaining queue items when
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]