[vala] posix: Fix timespec binding



commit e5cd582d1fdb326f1870326e9ee35b731cb0cb22
Author: Jürg Billeter <j bitron ch>
Date:   Fri Feb 26 15:29:49 2010 +0100

    posix: Fix timespec binding

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index e51420c..feb5cf7 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1489,7 +1489,7 @@ namespace Posix {
 		public int tm_isdst;
 	}
 
-	[CCode (cheader_filename = "time.h")]
+	[CCode (cname = "struct timespec", cheader_filename = "time.h")]
 	public struct timespec {
 		public time_t tv_sec;
 		public long tv_nsec;



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