1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v2: time - prefix C struct & ast.TypeName to ast.Type

This commit is contained in:
Joe Conigliaro
2020-03-04 01:06:21 +11:00
parent 448ed41562
commit 147ecc5e17
4 changed files with 11 additions and 16 deletions

View File

@@ -15,6 +15,6 @@ struct C.tm {
fn C.timegm(&tm) time_t
fn make_unix_time(t tm) int {
fn make_unix_time(t C.tm) int {
return int(C.timegm(&t))
}