From 765d01163095d7eb69256ed8d4bb66c6247a9f6b Mon Sep 17 00:00:00 2001 From: The Arrayser <68914060+TheArrayser@users.noreply.github.com> Date: Tue, 30 Aug 2022 12:50:38 +0200 Subject: [PATCH] Add files via upload --- System Abstraction/cdb_sustem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/System Abstraction/cdb_sustem.h b/System Abstraction/cdb_sustem.h index 53449c7..c77eff2 100644 --- a/System Abstraction/cdb_sustem.h +++ b/System Abstraction/cdb_sustem.h @@ -41,5 +41,6 @@ void sus_heapFree(void * memroy); // what should this function do, if an error o // Networking API -- coming soon, cuz idk //Threads -sus_Bool sus_threadNew(__attribute__ ((stdcall)) int (*proc)(void)); +typedef __attribute__ ((cdecl)) int (*sus_threadProc)(void); +sus_Bool sus_threadNew(sus_threadProc proc); void sus_threadSleep(unsigned long seconds); \ No newline at end of file