mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 14:18:15 +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
|
||||
|
||||
typedef struct OSEvent OSEvent;
|
||||
|
||||
typedef enum OSEventMode OSEventMode;
|
||||
typedef uint32_t OSEventMode;
|
||||
|
||||
enum OSEventMode
|
||||
{
|
||||
|
@ -5,8 +5,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum OSExceptionType OSExceptionType;
|
||||
|
||||
typedef uint32_t OSExceptionType;
|
||||
typedef BOOL (*OSExceptionCallbackFn)(OSContext *context);
|
||||
|
||||
enum OSExceptionType
|
||||
|
@ -7,8 +7,8 @@ extern "C" {
|
||||
|
||||
typedef struct MEMExpandedHeap MEMExpandedHeap;
|
||||
|
||||
typedef enum MEMExpHeapMode MEMExpHeapMode;
|
||||
typedef enum MEMExpHeapDirection MEMExpHeapDirection;
|
||||
typedef uint32_t MEMExpHeapMode;
|
||||
typedef uint32_t MEMExpHeapDirection;
|
||||
|
||||
struct MEMExpandedHeap
|
||||
{
|
||||
|
@ -13,9 +13,9 @@ typedef struct OSFastMutexQueue OSFastMutexQueue;
|
||||
typedef struct OSMutex OSMutex;
|
||||
typedef struct OSThread OSThread;
|
||||
|
||||
typedef enum OSThreadState OSThreadState;
|
||||
typedef enum OSThreadRequest OSThreadRequest;
|
||||
typedef enum OSThreadAttributes OSThreadAttributes;
|
||||
typedef uint8_t OSThreadState;
|
||||
typedef uint32_t OSThreadRequest;
|
||||
typedef uint8_t OSThreadAttributes;
|
||||
|
||||
typedef int32_t (*OSThreadEntryPointFn)(int32_t argc, char *arv);
|
||||
typedef void (*OSThreadCleanupCallbackFn)(OSThread *thread, void *stack);
|
||||
|
Loading…
Reference in New Issue
Block a user