]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix IConv.iconv()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 20 May 2018 17:09:21 +0000 (19:09 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 21 May 2018 19:15:31 +0000 (21:15 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=634753

vapi/glib-2.0.vapi

index ccef40f78c6c950ebd081ed1a8e4a6b7ff0f13ad..226437b552f1a38eb607044759384422b23ae8e0 100644 (file)
@@ -2499,7 +2499,7 @@ namespace GLib {
        public struct IConv {
                public static IConv open (string to_codeset, string from_codeset);
                [CCode (cname = "g_iconv")]
-               public uint iconv (out string inbuf, out uint inbytes_left, out string outbuf, out uint outbytes_left);
+               public size_t iconv ([CCode (array_length = false)] ref char[] inbuf, ref size_t inbytes_left, [CCode (array_length = false)] ref char[] outbuf, ref size_t outbytes_left);
                public int close ();
        }