From 4c1fec7b8b139ebae6609ac6b2a8acfed5bef335 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 79b1b37e8..ac89014c9 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -2588,7 +2588,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