[glib] doc: small clarification in g_autoptr()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] doc: small clarification in g_autoptr()
- Date: Mon, 21 Sep 2015 13:07:37 +0000 (UTC)
commit 3ffed912c19c5c24b7302d2ff12f82a6167f1c30
Author: Xavier Claessens <xavier claessens collabora com>
Date: Tue Sep 15 16:50:37 2015 -0400
doc: small clarification in g_autoptr()
https://bugzilla.gnome.org/show_bug.cgi?id=755077
glib/docs.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/glib/docs.c b/glib/docs.c
index 9169d85..a0e112b 100644
--- a/glib/docs.c
+++ b/glib/docs.c
@@ -2393,8 +2393,7 @@
* gboolean
* check_exists(GVariant *dict)
* {
- * g_autoptr(GVariant) dirname;
- * g_autoptr(GVariant) basename = NULL;
+ * g_autoptr(GVariant) dirname, basename = NULL;
* g_autoptr(gchar) path = NULL;
*
* dirname = g_variant_lookup_value (dict, "dirname", G_VARIANT_TYPE_STRING);
@@ -2419,6 +2418,8 @@
* initialiser or by ensuring that it is assigned to unconditionally
* before it goes out of scope.
*
+ * See also g_steal_pointer().
+ *
* Since: 2.44
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]