From cc1dc5ce20c97ed7d4c710173c1550732003816a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 13 Jan 2009 02:24:46 +0000 Subject: [PATCH] Improve docs svn path=/trunk/; revision=7805 --- ChangeLog | 5 +++++ glib/gtestutils.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3cd3a501a..c350ced7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-12 Matthias Clasen + + * glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL + handling in the docs. + 2009-01-12 Tor Lillqvist * glib/goption.c (parse_arg): Guard against a mis-written diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 895eca985..3f19fbc9a 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -1397,7 +1397,8 @@ g_assertion_message_error (const char *domain, * @str1: a C string or %NULL * @str2: another C string or %NULL * - * Compares @str1 and @str2 like strcmp(). Handles %NULL strings gracefully. + * Compares @str1 and @str2 like strcmp(). Handles %NULL + * gracefully by sorting it before non-%NULL strings. * * Returns: -1, 0 or 1, if @str1 is <, == or > than @str2. *