mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 10:30:03 +01:00
gconvert: Clarify g_locale_to/from_utf8 docs
It was not clear from the doc whether the return value was to be freed or belonging to glib. https://bugzilla.gnome.org/show_bug.cgi?id=710496
This commit is contained in:
parent
d55180c73b
commit
2907d4cc71
@ -902,7 +902,8 @@ strdup_len (const gchar *string,
|
||||
* system) in the <link linkend="setlocale">current locale</link> into a
|
||||
* UTF-8 string.
|
||||
*
|
||||
* Return value: The converted string, or %NULL on an error.
|
||||
* Return value: A newly-allocated buffer containing the converted string,
|
||||
* or %NULL on an error, and error will be set.
|
||||
**/
|
||||
gchar *
|
||||
g_locale_to_utf8 (const gchar *opsysstring,
|
||||
@ -943,7 +944,8 @@ g_locale_to_utf8 (const gchar *opsysstring,
|
||||
* system) in the <link linkend="setlocale">current locale</link>. On
|
||||
* Windows this means the system codepage.
|
||||
*
|
||||
* Return value: The converted string, or %NULL on an error.
|
||||
* Return value: A newly-allocated buffer containing the converted string,
|
||||
* or %NULL on an error, and error will be set.
|
||||
**/
|
||||
gchar *
|
||||
g_locale_from_utf8 (const gchar *utf8string,
|
||||
|
Loading…
x
Reference in New Issue
Block a user