[vala] posix: Set the C name of Posix.tm to "struct tm"



commit 5b75951f9b07bdb92d7fafe06220143d5bba7b50
Author: Simon Busch <morphis gravedo de>
Date:   Fri Nov 25 08:20:21 2011 +0100

    posix: Set the C name of Posix.tm to "struct tm"

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 9578263..4846289 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1686,7 +1686,7 @@ namespace Posix {
 		public clock_t ();
 	}
 
-	[CCode (cheader_filename = "time.h")]
+	[CCode (cname = "struct tm", cheader_filename = "time.h", has_type_id = false)]
 	public struct tm {
 		public int tm_sec;
 		public int tm_min;



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