summaryrefslogtreecommitdiff
path: root/type.h
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2026-07-29 23:58:55 -0400
committerCarson Fleming <cflems@cflems.net>2026-07-29 23:58:55 -0400
commit3445947c072a4cd533f5f3a53178f77361859123 (patch)
tree9ba7d330b1091fdad76bbb190579491e022dc3d3 /type.h
parent29510d33cab6e86b28b12c6246bca58acdab26e2 (diff)
downloadccc-3445947c072a4cd533f5f3a53178f77361859123.tar.gz
improve type system
Diffstat (limited to 'type.h')
-rw-r--r--type.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/type.h b/type.h
index 1217b71..ef848c5 100644
--- a/type.h
+++ b/type.h
@@ -34,10 +34,11 @@ extern const struct data_type long_type;
extern const struct data_type long_long_type;
extern const struct data_type float_type;
extern const struct data_type double_type;
-
-extern const struct data_type* integral_type;
-extern const struct data_type* floating_type;
-extern const struct data_type* character_type;
extern const struct data_type* primitive_types[];
+extern const struct type integral_type;
+extern const struct type floating_type;
+extern const struct type character_type;
+extern const struct type string_type;
+
#endif