mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Infix proc calling convention proc "std" (...)
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ Thread :: struct {
|
||||
create :: proc(procedure: Thread_Proc) -> ^Thread {
|
||||
win32_thread_id: u32;
|
||||
|
||||
__windows_thread_entry_proc :: proc(data: rawptr) -> i32 #cc_c {
|
||||
__windows_thread_entry_proc :: proc "c" (data: rawptr) -> i32 {
|
||||
if data == nil do return 0;
|
||||
|
||||
t := cast(^Thread)data;
|
||||
|
||||
Reference in New Issue
Block a user