From e94c27aba45ae48f0426820a0a7905709fc9241e 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 f471bfcc4..2574cee73 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -2580,7 +2580,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.11.4.GIT