From: Rico Tzschichholz Date: Sun, 20 May 2018 17:09:21 +0000 (+0200) Subject: glib-2.0: Fix IConv.iconv() X-Git-Tag: 0.34.18~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e3c7f75e01656366dc5d32648689d6887d4f8a;p=thirdparty%2Fvala.git glib-2.0: Fix IConv.iconv() https://bugzilla.gnome.org/show_bug.cgi?id=634753 --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index ccef40f78..226437b55 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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 (); }