projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aed692
)
bugfix
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 15 May 2023 18:12:49 +0000
(13:12 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 15 May 2023 18:12:49 +0000
(13:12 -0500)
core/time/time.onyx
patch
|
blob
|
history
diff --git
a/core/time/time.onyx
b/core/time/time.onyx
index da79a36e1e88d43ed2b2f4b5e7f599b78e956ea1..a2e7c053699e9bffb3d7b9882eeb147a6ffe8bd6 100644
(file)
--- a/
core/time/time.onyx
+++ b/
core/time/time.onyx
@@
-52,10
+52,11
@@
Timestamp :: struct #size (sizeof u32 * 12) {
now :: () -> Timestamp {
+ current_time: i64;
#if runtime.platform.Supports_Time {
- current_time
:
= runtime.platform.__time();
+ current_time = runtime.platform.__time();
} else {
- current_time
:
= 0;
+ current_time = 0;
}
//