Fix enum typedefs so we now define storage type.

This commit is contained in:
James Benton 2016-01-07 04:45:44 -08:00
parent 04fd92f05f
commit e123ba272f
4 changed files with 7 additions and 9 deletions

View File

@ -8,8 +8,7 @@ extern "C" {
#endif
typedef struct OSEvent OSEvent;
typedef enum OSEventMode OSEventMode;
typedef uint32_t OSEventMode;
enum OSEventMode
{

View File

@ -5,8 +5,7 @@
extern "C" {
#endif
typedef enum OSExceptionType OSExceptionType;
typedef uint32_t OSExceptionType;
typedef BOOL (*OSExceptionCallbackFn)(OSContext *context);
enum OSExceptionType

View File

@ -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
{

View File

@ -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);