From: Rico Tzschichholz Date: Sun, 7 Feb 2016 19:17:09 +0000 (+0100) Subject: glib-2.0: Fix wrong Version annotation and really add binding for g_close X-Git-Tag: 0.32.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c884192511c97e846675a9c350dcb960feb07627;p=thirdparty%2Fvala.git glib-2.0: Fix wrong Version annotation and really add binding for g_close --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 66d975243..b240b6b4d 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3451,9 +3451,12 @@ namespace GLib { [CCode (cname = "symlink", cheader_filename = "unistd.h")] public static int symlink (string oldpath, string newpath); - [Version (since = "2.36")] [CCode (cname = "close", cheader_filename = "unistd.h")] public static int close (int fd); + + [Version (since = "2.36")] + [CCode (cname = "g_close")] + public static bool close_checked (int fd) throws FileError; } [CCode (cname = "struct stat", cheader_filename = "sys/stat.h,glib/gstdio.h")]