[vala] posix vapi: fgets() can return NULL
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix vapi: fgets() can return NULL
- Date: Thu, 21 Jul 2011 11:46:01 +0000 (UTC)
commit 127f592a4c47321faef3525e4a2c439ac88b24e4
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jul 21 13:44:56 2011 +0200
posix vapi: fgets() can return NULL
vapi/posix.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 375ffb4..9737101 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -2324,7 +2324,7 @@ namespace Posix {
[CCode (cname = "fgetc")]
public int getc ();
[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]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]