]> 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)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 11 Dec 2011 13:10:11 +0000 (14:10 +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;