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