vendor/libc: a bunch of additions
All these additions are to allow Dear ImGui to be compiled natively.
This commit is contained in:
1 parent
d3b1aaad18
commit
140c902eff
15 files changed
+855
-15
No files matched your search
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