Change boolean size to 1 byte

This commit is contained in:
2025-12-07 12:17:40 +00:00
parent 432e4a48d5
commit 9c5b95c229
41 changed files with 489 additions and 364 deletions

View File

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