]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
fix GBase64 bindings
authorJuerg Billeter <j@bitron.ch>
Tue, 4 Mar 2008 20:14:54 +0000 (20:14 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Tue, 4 Mar 2008 20:14:54 +0000 (20:14 +0000)
2008-03-04  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix GBase64 bindings

svn path=/trunk/; revision=1099

ChangeLog
vapi/glib-2.0.vapi

index 3fbe5683b5afcebd7161b835b748b45fe1c8cd5b..293efb135e6ad42b413220fef7d2c6d8866b9ded 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-04  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi: fix GBase64 bindings
+
 2008-03-04  Jürg Billeter  <j@bitron.ch>
 
        * vapi/packages/gdk-pixbuf-2.0/: fix GdkPixdata bindings
index 7e33fb50564c239cc7125097ec53f5fbc88e7f1d..97a79997be4a904374657fb29b712e9c18b70bf5 100644 (file)
@@ -1469,12 +1469,12 @@ namespace GLib {
        /* Base64 Encoding */
        
        public static class Base64 {
-               public static size_t encode_step (string! _in, size_t len, bool break_lines, string _out, out int state, out int save);
-               public static size_t encode_close (bool break_lines, string _out, out int state, out int save);
-               public static string encode (string! data, int len);
+               public static size_t encode_step (uchar[] _in, bool break_lines, char* _out, ref int state, ref int save);
+               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);
                [NoArrayLength]
-               public static size_t decode_step (string! _in, size_t len, uchar[] _out, out int state, out uint save);
-               public static string decode (string! text, out size_t out_len);
+               public static uchar[] decode (string text, out size_t out_len);
        }
 
        /* Data Checksums */