Fix pointer differences (issue #11); remove #dll_import

This commit is contained in:
Ginger Bill
2017-01-26 17:39:44 +00:00
parent e85458919c
commit f47f25f942
9 changed files with 145 additions and 91 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ exit :: proc(code: int) {
current_thread_id :: proc() -> int {
GetCurrentThreadId :: proc() -> u32 #foreign #dll_import
GetCurrentThreadId :: proc() -> u32 #foreign
return cast(int)GetCurrentThreadId();
}