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:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user