Change boolean size to 1 byte
This commit is contained in:
@@ -152,7 +152,7 @@ struct cenumval {
|
||||
struct cenum {
|
||||
Str8 name;
|
||||
CEnumValList values;
|
||||
b32 add_typedef;
|
||||
b8 add_typedef;
|
||||
};
|
||||
|
||||
struct cmacro {
|
||||
@@ -188,7 +188,7 @@ struct carg {
|
||||
CDataType type;
|
||||
CPointer pointer;
|
||||
CQualifier qualifier;
|
||||
b32 is_array;
|
||||
b8 is_array;
|
||||
};
|
||||
|
||||
struct cfunc {
|
||||
@@ -230,8 +230,8 @@ struct cheader_include {
|
||||
|
||||
struct cinclude {
|
||||
CHeaderInclude header;
|
||||
b32 is_local;
|
||||
b32 same_dir;
|
||||
b8 is_local;
|
||||
b8 same_dir;
|
||||
};
|
||||
|
||||
struct cobject {
|
||||
@@ -275,6 +275,6 @@ void define_cfunc(Str8 *dst, const CFunc *cfunc);
|
||||
void cinclude_to_string(Str8 *dst, const CInclude *cinclude);
|
||||
void cheader_to_string(Str8 *dst, const CHeader *cheader);
|
||||
void csource_to_string(Str8 *dst, const CSource *csource);
|
||||
b32 cheaderinclude_to_string(Str8 *dst, const CHeaderInclude *cheaderinclude);
|
||||
b8 cheaderinclude_to_string(Str8 *dst, const CHeaderInclude *cheaderinclude);
|
||||
|
||||
#endif // !DATATYPES_H
|
||||
|
||||
Reference in New Issue
Block a user