]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add g_dir_make_tmp binding
authorJürg Billeter <j@bitron.ch>
Mon, 26 Mar 2012 16:21:42 +0000 (18:21 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 26 Mar 2012 16:21:42 +0000 (18:21 +0200)
Fixes bug 672846.

vapi/glib-2.0.vapi

index 74c707cc684379b25052ede6f072b5872d226d1c..37b5510961afce3dc2d60174801c7536c608be82 100644 (file)
@@ -3224,6 +3224,8 @@ namespace GLib {
                public static int create_with_parents (string pathname, int mode);
                [CCode (cname = "mkdtemp")]
                public static unowned string mkdtemp (string template);
+               [CCode (cname = "g_dir_make_tmp")]
+               public static string make_tmp (string tmpl) throws FileError;
                [CCode (cname = "g_rmdir")]
                public static int remove (string filename);
        }