]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix array length for g_base64_decode
authorAli Sabil <ali.sabil@gmail.com>
Mon, 11 Jan 2010 19:59:36 +0000 (20:59 +0100)
committerAli Sabil <ali.sabil@gmail.com>
Mon, 11 Jan 2010 19:59:36 +0000 (20:59 +0100)
vapi/glib-2.0.vapi

index 25af7c158beafbb688d083242c4165eefc4f64bb..ce515af2bf1ed301236c1fff8aacb95d22875d2b 100644 (file)
@@ -1830,8 +1830,8 @@ namespace GLib {
                public static size_t encode_close (bool break_lines, char* _out, ref int state, ref int save);
                public static string encode (uchar[] data);
                public static size_t decode_step (char[] _in, uchar* _out, ref int state, ref uint save);
-               [CCode (array_length = false)]
-               public static uchar[] decode (string text, out size_t out_len);
+               [CCode (array_length_type = "size_t")]
+               public static uchar[] decode (string text);
        }
 
        /* Data Checksums */