From: Michael 'Mickey' Lauer Date: Thu, 5 Nov 2009 22:05:36 +0000 (+0100) Subject: posix: bind InAddr as SimpleType since functions do actually require this to be passe... X-Git-Tag: 0.7.9~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06d040810bd57ffd7dc03483f041b27550796629;p=thirdparty%2Fvala.git posix: bind InAddr as SimpleType since functions do actually require this to be passed by value --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 5b8ac5f63..3f26d6c5b 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -1267,6 +1267,7 @@ namespace Posix { [CCode (cheader_filename = "sys/socket.h")] public int socketpair (int domain, int type, int protocol, int[] sv); + [SimpleType] [CCode (cname = "struct in_addr", cheader_filename = "sys/socket.h", destroy_function = "")] public struct InAddr { public uint32 s_addr;