fix: send nanoseconds value
parent
b7079ec3eb
commit
f88e2a84eb
|
@ -30,7 +30,7 @@ fn send_callback(ev: NativeEvent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_time(time: SystemTime) -> usize {
|
fn get_time(time: SystemTime) -> usize {
|
||||||
time.duration_since(UNIX_EPOCH).unwrap().as_millis() as usize
|
time.duration_since(UNIX_EPOCH).unwrap().as_nanos() as usize
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
|
|
Reference in New Issue