File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88typedef unsigned int uint32_t ;
99typedef int int32_t ;
1010
11- #include "metac_type_kind.h"
11+ // #include "metac_type_kind.h"
12+
13+ typedef enum metac_type_kind_t {
14+ TypeKind_Unknown = 0x0 ,
15+ TypeKind_Basic = 0x1 ,
16+ TypeKind_Enum = 0x2 ,
17+ TypeKind_Ptr = 0x3 ,
18+ TypeKind_Array = 0x4 ,
19+ TypeKind_Struct = 0x5 ,
20+ TypeKind_Union = 0x6 ,
21+ TypeKind_Class = 0x7 ,
22+ TypeKind_Map = 0x8 ,
23+ TypeKind_Functiontype = 0x9 ,
24+ TypeKind_Typedef = 0xA ,
25+ TypeKind_Tuple = 0xB ,
26+ TypeKind_Template = 0xC ,
27+ TypeKind_Unresolved = 0xD ,
28+ TypeKind_Extended = 0xE ,
29+ TypeKind_Invalid = 0xF ,
30+ } metac_type_kind_t ;
31+
1232
1333typedef struct metac_enum_members_t {
1434 const char * * Names ;
Original file line number Diff line number Diff line change 11/// Small platfrom abstraction
2+ #ifndef _OS_C_
3+ #define _OS_C_
24#include "compat.h"
35#include "os.h"
46#include <time.h>
@@ -125,3 +127,4 @@ const char* TimeStampToChars(uint32_t tsp)
125127 return (const char * ) & buffer [0 ];
126128 }
127129}
130+ #endif // _OS_C_
You can’t perform that action at this time.
0 commit comments