From: Luca Bruno Date: Tue, 15 Nov 2011 16:26:38 +0000 (+0100) Subject: posix: Fix the socketpair function X-Git-Tag: 0.14.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27f4baa1da752e2b80f14a08db8abe1534dbc432;p=thirdparty%2Fvala.git posix: Fix the socketpair function Patch by Paul Jakma. Fixes bug 664121. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index a65ef5798..957826360 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]