[vala/0.14] posix: Fix the socketpair function



commit 27f4baa1da752e2b80f14a08db8abe1534dbc432
Author: Luca Bruno <lucabru src gnome org>
Date:   Tue Nov 15 17:26:38 2011 +0100

    posix: Fix the socketpair function
    
    Patch by Paul Jakma.
    
    Fixes bug 664121.

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index a65ef57..9578263 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1461,7 +1461,7 @@ namespace Posix {
 	[CCode (cheader_filename = "sys/socket.h")]
 	public int socket (int domain, int type, int protocol);
 	[CCode (cheader_filename = "sys/socket.h")]
-	public int socketpair (int domain, int type, int protocol, int[] sv);
+	public int socketpair (int domain, int type, int protocol, [CCode (array_length = false)] int[] sv);
 
     [SimpleType]
     [IntegerType]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]