mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
Clarify g_utf8_strlen docs a bit
This commit is contained in:
parent
d64b4c4887
commit
1b919d2e56
@ -220,10 +220,12 @@ g_utf8_prev_char (const gchar *p)
|
||||
* @max: the maximum number of bytes to examine. If @max
|
||||
* is less than 0, then the string is assumed to be
|
||||
* nul-terminated. If @max is 0, @p will not be examined and
|
||||
* may be %NULL.
|
||||
* may be %NULL. If @max is greater than 0, up to @max
|
||||
* bytes are examined
|
||||
*
|
||||
* Computes the length of the string in characters, not including
|
||||
* the terminating nul character.
|
||||
* the terminating nul character. If the @max'th byte falls in the
|
||||
* middle of a character, the last (partial) character is not counted.
|
||||
*
|
||||
* Return value: the length of the string in characters
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user