]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Fix poll and ppoll bindings.
authorStefano Debenedetti <ste@demaledetti.net>
Fri, 11 Feb 2011 07:57:23 +0000 (08:57 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Fri, 11 Feb 2011 07:57:23 +0000 (08:57 +0100)
Fixes bug 641788.

vapi/posix.vapi

index 80bf6fd08ec9476615567b1fb81a2362ee4839c8..a6a17bd8466d9c02c141c85473fc4efdaadeb277 100644 (file)
@@ -809,9 +809,9 @@ namespace Posix {
        }
 
        [CCode (cheader_filename = "poll.h")]
-       public int poll (pollfd fds, nfds_t nfds, int timeout);
+       public int poll (pollfd[] fds, int timeout);
        [CCode (cheader_filename = "poll.h")]
-       public int ppoll (pollfd fds, nfds_t nfds, timespec? timeout, sigset_t? sigmask);
+       public int ppoll (pollfd[] fds, timespec? timeout, sigset_t? sigmask);
 
        [Compact]
        [CCode (cname = "struct passwd", cheader_filename = "pwd.h")]