[vala/staging] glib-2.0: Fix IConv.iconv()



commit 90b7a26ed6d74cc2d2371ffd4108ebad3b8bc98d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun May 20 19:09:21 2018 +0200

    glib-2.0: Fix IConv.iconv()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=634753

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 707c181..ed31ce7 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 ();
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]