]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Set the C name of Posix.tm to "struct tm"
authorSimon Busch <morphis@gravedo.de>
Fri, 25 Nov 2011 07:20:21 +0000 (08:20 +0100)
committerJürg Billeter <j@bitron.ch>
Mon, 12 Dec 2011 19:53:12 +0000 (20:53 +0100)
vapi/posix.vapi

index 957826360d9063dbddc7d2e206f6fe7f55dbfcb0..484628911771b9a40b031e96ea5897e3d44b1838 100644 (file)
@@ -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;