A typedef for a reference-counted string. A pointer to a GLib.RefString can be
treated like a standard char* array by all code, but can additionally have
g_ref_string_*() methods called on it. g_ref_string_*() methods cannot be
called on char* arrays not allocated using g_ref_string_new().
If using GLib.RefString with autocleanups, g_autoptr() must be used rather than
g_autofree(), so that the reference counting metadata is also freed.
A typedef for a reference-counted string. A pointer to a GLib.RefString can be treated like a standard
char*array by all code, but can additionally haveg_ref_string_*()methods called on it.g_ref_string_*()methods cannot be called onchar*arrays not allocated usingg_ref_string_new().If using GLib.RefString with autocleanups,
g_autoptr()must be used rather thang_autofree(), so that the reference counting metadata is also freed.