mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
vendor/libc: a bunch of additions
All these additions are to allow Dear ImGui to be compiled natively.
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
package odin_libc
|
||||
|
||||
import "core:time"
|
||||
|
||||
clock_t :: i64
|
||||
|
||||
@(require, linkage="strong", link_name="clock")
|
||||
clock :: proc "c" () -> clock_t {
|
||||
return time.tick_now()._nsec
|
||||
}
|
||||
Reference in New Issue
Block a user