From: Jürg Billeter Date: Sun, 28 Sep 2008 13:35:58 +0000 (+0000) Subject: Fix fopen and fdopen bindings, patch by Marc-André Lureau X-Git-Tag: VALA_0_4_0~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e5fef5ca6ccef09ce2b623a0a63cb54816c9f4;p=thirdparty%2Fvala.git Fix fopen and fdopen bindings, patch by Marc-André Lureau 2008-09-28 Jürg Billeter * vapi/glib-2.0.vapi: Fix fopen and fdopen bindings, patch by Marc-André Lureau svn path=/trunk/; revision=1811 --- diff --git a/ChangeLog b/ChangeLog index 986a7e9a9..32bab0421 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-28 Jürg Billeter + + * vapi/glib-2.0.vapi: + + Fix fopen and fdopen bindings, patch by Marc-André Lureau + 2008-09-28 Jürg Billeter * vapi/glib-2.0.vapi: diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 3f2fdcdb4..6af455242 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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, ...);