From: Simon Busch Date: Fri, 25 Nov 2011 07:20:21 +0000 (+0100) Subject: posix: Set the C name of Posix.tm to "struct tm" X-Git-Tag: 0.15.1~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b75951f9b07bdb92d7fafe06220143d5bba7b50;p=thirdparty%2Fvala.git posix: Set the C name of Posix.tm to "struct tm" --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 957826360..484628911 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;