From 1d17460b070c2da02ddeae2043d3e8d8df061672 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 20 Mar 2017 22:04:20 +0100 Subject: gir: Update annotations from GLib 2.52.0 --- gir/glib-2.0.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c index c9000209..bddd8c58 100644 --- a/gir/glib-2.0.c +++ b/gir/glib-2.0.c @@ -10488,6 +10488,8 @@ * be written to it. It will need up to 4 bytes, or up to 5 bytes if * line-breaking is enabled. * + * The @out array will not be automatically nul-terminated. + * * Returns: The number of bytes of output that was written * Since: 2.12 */ @@ -33225,8 +33227,7 @@ /** * g_utf8_get_char_validated: * @p: a pointer to Unicode character encoded as UTF-8 - * @max_len: the maximum number of bytes to read, or -1, for no maximum or - * if @p is nul-terminated + * @max_len: the maximum number of bytes to read, or -1 if @p is nul-terminated * * Convert a sequence of bytes encoded as UTF-8 to a Unicode character. * This function checks for incomplete characters, for invalid characters -- cgit v1.2.1