mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-29 08:56:15 +01:00
doc: small clarification in g_autoptr()
https://bugzilla.gnome.org/show_bug.cgi?id=755077
This commit is contained in:
parent
8297ea8bad
commit
3ffed912c1
@ -2393,8 +2393,7 @@
|
|||||||
* gboolean
|
* gboolean
|
||||||
* check_exists(GVariant *dict)
|
* check_exists(GVariant *dict)
|
||||||
* {
|
* {
|
||||||
* g_autoptr(GVariant) dirname;
|
* g_autoptr(GVariant) dirname, basename = NULL;
|
||||||
* g_autoptr(GVariant) basename = NULL;
|
|
||||||
* g_autoptr(gchar) path = NULL;
|
* g_autoptr(gchar) path = NULL;
|
||||||
*
|
*
|
||||||
* dirname = g_variant_lookup_value (dict, "dirname", G_VARIANT_TYPE_STRING);
|
* 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
|
* initialiser or by ensuring that it is assigned to unconditionally
|
||||||
* before it goes out of scope.
|
* before it goes out of scope.
|
||||||
*
|
*
|
||||||
|
* See also g_steal_pointer().
|
||||||
|
*
|
||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user