mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: move C struct declarations in their own _default.c.v files (#12268)
This commit is contained in:
@ -70,7 +70,7 @@ fn (ctx Context) write_file_or_print(file string) {
|
||||
// generate ast json file and c source code file
|
||||
fn (ctx Context) watch_for_changes(file string) {
|
||||
println('start watching...')
|
||||
mut timestamp := 0
|
||||
mut timestamp := i64(0)
|
||||
for {
|
||||
new_timestamp := os.file_last_mod_unix(file)
|
||||
if timestamp != new_timestamp {
|
||||
|
@ -61,7 +61,7 @@ fn get_scan_timeout_seconds() int {
|
||||
|
||||
struct VFileStat {
|
||||
path string
|
||||
mtime int
|
||||
mtime i64
|
||||
}
|
||||
|
||||
[unsafe]
|
||||
|
Reference in New Issue
Block a user