]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: bind InAddr as SimpleType since functions do actually require this to be passe...
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Thu, 5 Nov 2009 22:05:36 +0000 (23:05 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Thu, 5 Nov 2009 22:05:36 +0000 (23:05 +0100)
vapi/posix.vapi

index 5b8ac5f636d931a5e360d6d0967bcc68e8f3f99d..3f26d6c5ba5ed4760b8e999927191f7ae453e90f 100644 (file)
@@ -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;