Add missing allow-none annotations for function parameters.

Found using:
find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
This commit is contained in:
Robert Ancell
2012-03-24 23:58:45 +11:00
parent 4cf5d25316
commit 4143842eb4
58 changed files with 232 additions and 232 deletions

View File

@@ -1954,8 +1954,8 @@ g_assertion_message_error (const char *domain,
/**
* g_strcmp0:
* @str1: a C string or %NULL
* @str2: another C string or %NULL
* @str1: (allow-none): a C string or %NULL
* @str2: (allow-none): another C string or %NULL
*
* Compares @str1 and @str2 like strcmp(). Handles %NULL
* gracefully by sorting it before non-%NULL strings.