mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 13:58:18 +01:00
Fix thread entry point to use int as return and argc type.
This commit is contained in:
parent
35dd3f23e1
commit
92511be884
@ -17,7 +17,7 @@ typedef uint8_t OSThreadState;
|
||||
typedef uint32_t OSThreadRequest;
|
||||
typedef uint8_t OSThreadAttributes;
|
||||
|
||||
typedef int32_t (*OSThreadEntryPointFn)(int32_t argc, char *arv);
|
||||
typedef int (*OSThreadEntryPointFn)(int argc, const char **argv);
|
||||
typedef void (*OSThreadCleanupCallbackFn)(OSThread *thread, void *stack);
|
||||
typedef void (*OSThreadDeallocatorFn)(OSThread *thread, void *stack);
|
||||
|
||||
@ -254,7 +254,7 @@ OSIsThreadTerminated(OSThread *thread);
|
||||
|
||||
BOOL
|
||||
OSJoinThread(OSThread *thread,
|
||||
int32_t *threadResult);
|
||||
int *threadResult);
|
||||
|
||||
void
|
||||
OSPrintCurrentThreadState();
|
||||
@ -265,8 +265,8 @@ OSResumeThread(OSThread *thread);
|
||||
BOOL
|
||||
OSRunThread(OSThread *thread,
|
||||
OSThreadEntryPointFn entry,
|
||||
int32_t argc,
|
||||
char *argv);
|
||||
int argc,
|
||||
const char **argv);
|
||||
|
||||
BOOL
|
||||
OSSetThreadAffinity(OSThread *thread,
|
||||
|
Loading…
Reference in New Issue
Block a user