[glib] g_datalist_id_replace_data: Annotate the out parameter
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] g_datalist_id_replace_data: Annotate the out parameter
- Date: Mon, 11 Sep 2017 19:33:11 +0000 (UTC)
commit 595a7e3bb21a61a50d700f9a2a00dcb29379eb70
Author: Mikhail Zabaluev <mikhail zabaluev gmail com>
Date: Mon Oct 12 10:19:15 2015 +0300
g_datalist_id_replace_data: Annotate the out parameter
https://bugzilla.gnome.org/show_bug.cgi?id=756470
glib/gdataset.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gdataset.c b/glib/gdataset.c
index 28ec0c0..fed6df9 100644
--- a/glib/gdataset.c
+++ b/glib/gdataset.c
@@ -885,7 +885,7 @@ g_datalist_id_dup_data (GData **datalist,
* @oldval: (nullable): the old value to compare against
* @newval: (nullable): the new value to replace it with
* @destroy: (nullable): destroy notify for the new value
- * @old_destroy: (nullable): destroy notify for the existing value
+ * @old_destroy: (out) (optional): destroy notify for the existing value
*
* Compares the member that is associated with @key_id in
* @datalist to @oldval, and if they are the same, replace
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]