From: Ryan Lortie Date: Thu, 21 Jul 2011 11:48:02 +0000 (+0200) Subject: glib vapi: fgets() can return NULL X-Git-Tag: 0.13.2~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3ba2251e4bdfc27c533b6455c950eec80ba3fdd;p=thirdparty%2Fvala.git glib vapi: fgets() can return NULL --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 34de1a45a..5140ae035 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3031,7 +3031,7 @@ namespace GLib { [CCode (cname = "ungetc", instance_pos = -1)] public int ungetc (int c); [CCode (cname = "fgets", instance_pos = -1)] - public unowned string gets (char[] s); + public unowned string? gets (char[] s); [CCode (cname = "feof")] public bool eof (); [CCode (cname = "fscanf"), ScanfFormat]