]> 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>
Sun, 20 May 2018 17:09:21 +0000 (19:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=634753

vapi/glib-2.0.vapi

index 707c181e433428c278fa9a80e4dbe95efebfbb65..ed31ce7583243ad20e3396e9c07b49fb27bed3d4 100644 (file)
@@ -2598,7 +2598,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 ();
        }