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

Replace all remaining C code with V in the compiler and vlib (hoorah!)

This commit is contained in:
Alexander Medvednikov
2019-06-27 19:02:47 +02:00
parent 554f083543
commit 6824e6e7db
19 changed files with 391 additions and 685 deletions

View File

@@ -644,7 +644,7 @@ fn (table &Table) cgen_name_type_pair(name, typ string) string {
}
// TODO tm hack, do this for all C struct args
else if typ == 'tm' {
return 'struct tm $name'
return 'struct /*TM*/ tm $name'
}
return '$typ $name'
}