+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:
[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, ...);