]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix g_unix_open_pipes binding
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 22 Nov 2015 20:49:31 +0000 (21:49 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 23 Nov 2015 10:40:51 +0000 (11:40 +0100)
Fixes bug 751291.

(cherry picked from commit 9cea1ed9ddf6af83357bb4fdd95dcfc4742423ed)

vapi/glib-2.0.vapi

index 0d71c4891a073b555cfa11bc3a82bb8ca6f44063..af183d6857bd50ab0f44de8c161259306968554b 100644 (file)
@@ -5131,7 +5131,7 @@ namespace GLib {
                }
 
                [CCode (cheader_filename = "glib-unix.h")]
-               public static bool open_pipe (int fds, int flags) throws GLib.Error;
+               public static bool open_pipe ([CCode (array_length = false, array_null_terminated = false)] int[] fds, int flags) throws GLib.Error;
                [CCode (cheader_filename = "glib-unix.h")]
                public static bool set_fd_nonblocking (int fd, bool nonblock) throws GLib.Error;
        }