[glib] utf8: annotate the end pointer in g_utf8_validate as out + allow-none
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] utf8: annotate the end pointer in g_utf8_validate as out + allow-none
- Date: Tue, 26 Jul 2011 14:45:26 +0000 (UTC)
commit 82a0733751b2dc3306e7dcf76358621eaea02bcb
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jul 26 16:44:18 2011 +0200
utf8: annotate the end pointer in g_utf8_validate as out + allow-none
glib/gutf8.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gutf8.c b/glib/gutf8.c
index 51cef3c..b2a170b 100644
--- a/glib/gutf8.c
+++ b/glib/gutf8.c
@@ -1768,7 +1768,7 @@ fast_validate_len (const char *str,
* g_utf8_validate:
* @str: a pointer to character data
* @max_len: max bytes to validate, or -1 to go until NUL
- * @end: return location for end of valid data
+ * @end: (allow-none) (out): return location for end of valid data
*
* Validates UTF-8 encoded text. @str is the text to validate;
* if @str is nul-terminated, then @max_len can be -1, otherwise
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]