mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
remove old types and
This commit is contained in:
@@ -9,14 +9,14 @@ module time
|
||||
//#include <mach/mach_time.h>
|
||||
|
||||
// in ms
|
||||
fn ticks() double {
|
||||
fn ticks() f64 {
|
||||
panic('not implemented')
|
||||
/*
|
||||
t := i64(C.mach_absolute_time())
|
||||
# Nanoseconds elapsedNano = AbsoluteToNanoseconds( *(AbsoluteTime *) &t );
|
||||
# return (double)(* (uint64_t *) &elapsedNano) / 1000000;
|
||||
*/
|
||||
return double(0)
|
||||
return f64(0)
|
||||
}
|
||||
|
||||
fn sleep(seconds int) {
|
||||
|
||||
Reference in New Issue
Block a user