mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
Fix the annotation of g_utf8_strncpy()
(cherry-picked from commit 797bcf3224ef87992c0a7eaa10d5bf888ad7120e)
This commit is contained in:
parent
7d63f9446c
commit
e77f036cb6
@ -437,7 +437,7 @@ g_utf8_pointer_to_offset (const gchar *str,
|
|||||||
* must be valid UTF-8 encoded text. (Use g_utf8_validate() on all
|
* must be valid UTF-8 encoded text. (Use g_utf8_validate() on all
|
||||||
* text before trying to use UTF-8 utility functions with it.)
|
* text before trying to use UTF-8 utility functions with it.)
|
||||||
*
|
*
|
||||||
* Note you must ensure @dest is at least 4 * @n to fit the
|
* Note you must ensure @dest is at least 4 * @n + 1 to fit the
|
||||||
* largest possible UTF-8 characters
|
* largest possible UTF-8 characters
|
||||||
*
|
*
|
||||||
* Returns: (transfer none): @dest
|
* Returns: (transfer none): @dest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user