mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +01:00
grefstring: Document GRefString type
This symbol has been added to glib-sections.txt in 93f3202a615a20cf2f1bc038ad31f98a8c232c5a but lacks a gtk-doc comment block. So, let's add it.
This commit is contained in:
parent
bdc9328bdf
commit
c93430f795
@ -300,3 +300,12 @@ g_ref_string_length (char *str)
|
|||||||
|
|
||||||
return g_atomic_rc_box_get_size (str) - 1;
|
return g_atomic_rc_box_get_size (str) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GRefString:
|
||||||
|
*
|
||||||
|
* A typedef alias for char. This improves readability when passing reference
|
||||||
|
* counted strings and is useful when used together with g_autoptr().
|
||||||
|
*
|
||||||
|
* Since: 2.58
|
||||||
|
*/
|
Loading…
x
Reference in New Issue
Block a user