projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f3638
)
utf8: annotate the end pointer in g_utf8_validate as out + allow-none
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 26 Jul 2011 14:44:18 +0000
(16:44 +0200)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 26 Jul 2011 14:44:18 +0000
(16:44 +0200)
glib/gutf8.c
patch
|
blob
|
history
diff --git
a/glib/gutf8.c
b/glib/gutf8.c
index 51cef3c1932d1f02a5bfd67771dddc6f03979796..b2a170b6fc031e898fbe4238c5a8bb80679188c8 100644
(file)
--- 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