mirror of
https://github.com/vlang/v.git
synced 2025-09-09 15:27:05 -04:00
parent
c8423dd300
commit
5e253e7923
@ -50,7 +50,7 @@ pub mut:
|
||||
}
|
||||
|
||||
// the first arg is defined in include/bits/types.h as `__S32_TYPE`, which is `int`
|
||||
fn C.clock_gettime(int, &C.timespec)
|
||||
fn C.clock_gettime(int, &C.timespec) int
|
||||
|
||||
fn C.nanosleep(req &C.timespec, rem &C.timespec) int
|
||||
|
||||
|
@ -7,5 +7,5 @@ pub mut:
|
||||
}
|
||||
|
||||
fn C.gettid() u32
|
||||
fn C.clock_gettime(int, &C.timespec)
|
||||
fn C.clock_gettime(int, &C.timespec) int
|
||||
fn C.pthread_self() u64
|
||||
|
Loading…
x
Reference in New Issue
Block a user