From 90b7a26ed6d74cc2d2371ffd4108ebad3b8bc98d Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sun, 20 May 2018 19:09:21 +0200 Subject: [PATCH] glib-2.0: Fix IConv.iconv() https://bugzilla.gnome.org/show_bug.cgi?id=634753 --- vapi/glib-2.0.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 707c181e4..ed31ce758 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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 (); } -- 2.47.2