[vala] posix: bind InAddr as SimpleType since functions do actually require this to be passed by value



commit 06d040810bd57ffd7dc03483f041b27550796629
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date:   Thu Nov 5 23:05:36 2009 +0100

    posix: bind InAddr as SimpleType since functions do actually require this to be passed by value

 vapi/posix.vapi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 5b8ac5f..3f26d6c 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;



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