mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Improve documentation for g_strcmp0()
Be more explicit about the handling of two NULL pointers. https://bugzilla.gnome.org/show_bug.cgi?id=622480
This commit is contained in:
parent
6920e503e6
commit
b116838da3
@ -1429,6 +1429,7 @@ g_assertion_message_error (const char *domain,
|
||||
*
|
||||
* Compares @str1 and @str2 like strcmp(). Handles %NULL
|
||||
* gracefully by sorting it before non-%NULL strings.
|
||||
* Comparing two %NULL pointers returns 0.
|
||||
*
|
||||
* Returns: -1, 0 or 1, if @str1 is <, == or > than @str2.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user