aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c_type.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-21 17:55:01 +0100
committerlemon <lsof@mailbox.org>2026-03-21 17:55:01 +0100
commit0e75fc383becccd113416677b7e26e0caf21e28b (patch)
tree356cf6c271ea8e0b2ca0211ac0c9efe776cc2118 /src/c_type.h
parent8b846d0245744f4eefc32f3c98b6359a3d21e659 (diff)
Rework handling of predefined macros.
And add some GCC predefs like __SIZE_TYPE__, __LONG_SIZE__, etc
Diffstat (limited to 'src/c_type.h')
-rw-r--r--src/c_type.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c_type.h b/src/c_type.h
index 8171366..a9d95c4 100644
--- a/src/c_type.h
+++ b/src/c_type.h
@@ -122,7 +122,8 @@ typedef struct TypeData {
} TypeData;
extern TypeData typedata[];
-extern internstr ttypenames[/*id*/];
+extern internstr tagtypetags[/*id*/];
+extern const char *const primtypenames[/*enum typetag*/];
bool isincomplete(Type);
uint typesize(Type);