mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Clean up core:time to be consistent across all platforms
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
//+private
|
||||
//+build js
|
||||
package time
|
||||
|
||||
IS_SUPPORTED :: false
|
||||
_IS_SUPPORTED :: false
|
||||
|
||||
now :: proc() -> Time {
|
||||
_now :: proc "contextless" () -> Time {
|
||||
return {}
|
||||
}
|
||||
|
||||
sleep :: proc(d: Duration) {
|
||||
_sleep :: proc "contextless" (d: Duration) {
|
||||
}
|
||||
|
||||
_tick_now :: proc "contextless" () -> Tick {
|
||||
|
||||
Reference in New Issue
Block a user