Change OS{Get,Set}ThreadSpecific to use void *.

This commit is contained in:
James Benton 2018-05-25 18:06:25 +01:00
parent 3336fbaf5d
commit b4e5bf4106

View File

@ -175,7 +175,7 @@ struct OSThread
UNKNOWN(0x57c - 0x3a0); UNKNOWN(0x57c - 0x3a0);
//! Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific. //! Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific.
uint32_t specific[0x10]; void *specific[0x10];
UNKNOWN(0x5c0 - 0x5bc); UNKNOWN(0x5c0 - 0x5bc);
@ -375,7 +375,7 @@ OSGetThreadPriority(OSThread *thread);
/** /**
* Get a thread's specific value set by OSSetThreadSpecific. * Get a thread's specific value set by OSSetThreadSpecific.
*/ */
uint32_t void *
OSGetThreadSpecific(uint32_t id); OSGetThreadSpecific(uint32_t id);
@ -498,7 +498,7 @@ OSSetThreadRunQuantum(OSThread *thread,
*/ */
void void
OSSetThreadSpecific(uint32_t id, OSSetThreadSpecific(uint32_t id,
uint32_t value); void *value);
/** /**