mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-31 09:50:05 +02:00
gstrfuncs: Mention nullability in g_ascii_strcasecmp() documentation
Like strcmp(), g_ascii_strcasecmp() requires that both of its parameters be non-%NULL.
This commit is contained in:
parent
2fb8901b64
commit
cb889d9580
@ -1761,6 +1761,8 @@ g_ascii_xdigit_value (gchar c)
|
|||||||
* characters include all ASCII letters. If you compare two CP932
|
* characters include all ASCII letters. If you compare two CP932
|
||||||
* strings using this function, you will get false matches.
|
* strings using this function, you will get false matches.
|
||||||
*
|
*
|
||||||
|
* Both @s1 and @s2 must be non-%NULL.
|
||||||
|
*
|
||||||
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
|
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
|
||||||
* or a positive value if @s1 > @s2.
|
* or a positive value if @s1 > @s2.
|
||||||
**/
|
**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user