[vala] posix: Fix poll and ppoll bindings.
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix: Fix poll and ppoll bindings.
- Date: Fri, 11 Feb 2011 08:03:37 +0000 (UTC)
commit 8d67021aebe24bae373be9ce7057a220a0af1e21
Author: Stefano Debenedetti <ste demaledetti net>
Date: Fri Feb 11 08:57:23 2011 +0100
posix: Fix poll and ppoll bindings.
Fixes bug 641788.
vapi/posix.vapi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 80bf6fd..a6a17bd 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]