mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gutf8: Fix a typo in the docs for g_utf16_to_utf8()
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
6f9b379c08
commit
9d859f001d
@ -1006,7 +1006,7 @@ g_ucs4_to_utf8 (const gunichar *str,
|
|||||||
* string; it may e.g. include embedded NUL characters. The only
|
* string; it may e.g. include embedded NUL characters. The only
|
||||||
* validation done by this function is to ensure that the input can
|
* validation done by this function is to ensure that the input can
|
||||||
* be correctly interpreted as UTF-16, i.e. it doesn't contain
|
* be correctly interpreted as UTF-16, i.e. it doesn't contain
|
||||||
* things unpaired surrogates.
|
* unpaired surrogates or partial character sequences.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): a pointer to a newly allocated UTF-8 string.
|
* Returns: (transfer full): a pointer to a newly allocated UTF-8 string.
|
||||||
* This value must be freed with g_free(). If an error occurs,
|
* This value must be freed with g_free(). If an error occurs,
|
||||||
|
Loading…
Reference in New Issue
Block a user