]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix fopen and fdopen bindings, patch by Marc-André Lureau
authorJürg Billeter <j@bitron.ch>
Sun, 28 Sep 2008 13:35:58 +0000 (13:35 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sun, 28 Sep 2008 13:35:58 +0000 (13:35 +0000)
2008-09-28  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Fix fopen and fdopen bindings, patch by Marc-André Lureau

svn path=/trunk/; revision=1811

ChangeLog
vapi/glib-2.0.vapi

index 986a7e9a9abdef86e0ec1b32675e997786e09229..32bab0421ddcfe3df5f5ca4a0fa41f34ee274801 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-28  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi:
+
+       Fix fopen and fdopen bindings, patch by Marc-André Lureau
+
 2008-09-28  Jürg Billeter  <j@bitron.ch>
 
        * vapi/glib-2.0.vapi:
index 3f2fdcdb487a02270305959b9075a36bab12533e..6af455242f002a249d6135fdd916e6fb977d8b17 100644 (file)
@@ -2420,9 +2420,9 @@ namespace GLib {
        [CCode (cname = "FILE", free_function = "fclose", cheader_filename = "stdio.h")]
        public class FileStream {
                [CCode (cname = "fopen")]
-               public static FileStream open (string path, string mode);
+               public static FileStream? open (string path, string mode);
                [CCode (cname = "fdopen")]
-               public static FileStream fdopen (int fildes, string mode);
+               public static FileStream? fdopen (int fildes, string mode);
                [CCode (cname = "fprintf")]
                [PrintfFormat ()]
                public void printf (string format, ...);