mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 23:30:39 +01:00
Fix enum typedefs so we now define storage type.
This commit is contained in:
parent
04fd92f05f
commit
e123ba272f
@ -8,8 +8,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct OSEvent OSEvent;
|
typedef struct OSEvent OSEvent;
|
||||||
|
typedef uint32_t OSEventMode;
|
||||||
typedef enum OSEventMode OSEventMode;
|
|
||||||
|
|
||||||
enum OSEventMode
|
enum OSEventMode
|
||||||
{
|
{
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef enum OSExceptionType OSExceptionType;
|
typedef uint32_t OSExceptionType;
|
||||||
|
|
||||||
typedef BOOL (*OSExceptionCallbackFn)(OSContext *context);
|
typedef BOOL (*OSExceptionCallbackFn)(OSContext *context);
|
||||||
|
|
||||||
enum OSExceptionType
|
enum OSExceptionType
|
||||||
|
@ -7,8 +7,8 @@ extern "C" {
|
|||||||
|
|
||||||
typedef struct MEMExpandedHeap MEMExpandedHeap;
|
typedef struct MEMExpandedHeap MEMExpandedHeap;
|
||||||
|
|
||||||
typedef enum MEMExpHeapMode MEMExpHeapMode;
|
typedef uint32_t MEMExpHeapMode;
|
||||||
typedef enum MEMExpHeapDirection MEMExpHeapDirection;
|
typedef uint32_t MEMExpHeapDirection;
|
||||||
|
|
||||||
struct MEMExpandedHeap
|
struct MEMExpandedHeap
|
||||||
{
|
{
|
||||||
|
@ -13,9 +13,9 @@ typedef struct OSFastMutexQueue OSFastMutexQueue;
|
|||||||
typedef struct OSMutex OSMutex;
|
typedef struct OSMutex OSMutex;
|
||||||
typedef struct OSThread OSThread;
|
typedef struct OSThread OSThread;
|
||||||
|
|
||||||
typedef enum OSThreadState OSThreadState;
|
typedef uint8_t OSThreadState;
|
||||||
typedef enum OSThreadRequest OSThreadRequest;
|
typedef uint32_t OSThreadRequest;
|
||||||
typedef enum OSThreadAttributes OSThreadAttributes;
|
typedef uint8_t OSThreadAttributes;
|
||||||
|
|
||||||
typedef int32_t (*OSThreadEntryPointFn)(int32_t argc, char *arv);
|
typedef int32_t (*OSThreadEntryPointFn)(int32_t argc, char *arv);
|
||||||
typedef void (*OSThreadCleanupCallbackFn)(OSThread *thread, void *stack);
|
typedef void (*OSThreadCleanupCallbackFn)(OSThread *thread, void *stack);
|
||||||
|
Loading…
Reference in New Issue
Block a user