]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add g_file_error_from_errno binding.
authorEvan Nemerson <evan@coeus-group.com>
Wed, 21 Jul 2010 05:21:15 +0000 (22:21 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Wed, 21 Jul 2010 05:51:58 +0000 (22:51 -0700)
vapi/glib-2.0.vapi

index 9b28fab0b02e19945ebb1b50d3dce7c2a8b66aee..6e83e394d08ae0e8358a0d96eb5ebe185778175e 100644 (file)
@@ -2734,6 +2734,7 @@ namespace GLib {
                public static bool test (string filename, FileTest test);
                public static int open_tmp (string tmpl, out string name_used) throws FileError;
                public static string read_link (string filename) throws FileError;
+               public static int error_from_errno (int err_no);
                
                [CCode (cname = "g_mkstemp")]
                public static int mkstemp (string tmpl);