fix: send nanoseconds value

fix/data-structure
paring 2022-11-05 16:44:24 +09:00
parent b7079ec3eb
commit f88e2a84eb
Signed by: pikokr
GPG Key ID: DB839724AD14EC9F
1 changed files with 1 additions and 1 deletions

View File

@ -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]