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:
António Fernandes 2018-12-10 23:01:53 +00:00
parent bdc9328bdf
commit c93430f795

View File

@ -300,3 +300,12 @@ g_ref_string_length (char *str)
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
*/