mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 11:20:08 +00:00
Handle calling conventions correctly
This commit is contained in:
+4
-4
@@ -1,9 +1,9 @@
|
||||
import (
|
||||
import {
|
||||
win32 "sys/windows.odin" when ODIN_OS == "windows";
|
||||
"atomic.odin";
|
||||
)
|
||||
}
|
||||
|
||||
type (
|
||||
type {
|
||||
Semaphore struct {
|
||||
handle win32.HANDLE;
|
||||
}
|
||||
@@ -14,7 +14,7 @@ type (
|
||||
owner i32;
|
||||
recursion i32;
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
proc current_thread_id() -> i32 {
|
||||
return win32.GetCurrentThreadId() as i32;
|
||||
|
||||
Reference in New Issue
Block a user