aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-15 15:33:47 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-15 15:33:47 -0400
commite422079fcced744e3a6247aeb12a09a658989072 (patch)
tree393d5e52ba67dcc822ccfa9a812198edda5e735d /types.h
parent259c7efcf8c3808d8151d8e15f1167ad2b6f2ca7 (diff)
Add a Byte datatype
Diffstat (limited to 'types.h')
-rw-r--r--types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/types.h b/types.h
index 8b1ded4a..46469c65 100644
--- a/types.h
+++ b/types.h
@@ -43,6 +43,7 @@ struct type_s {
VoidType,
MemoryType,
BoolType,
+ ByteType,
BigIntType,
IntType,
NumType,
@@ -72,6 +73,7 @@ struct type_s {
struct {
enum { TYPE_IBITS8=8, TYPE_IBITS16=16, TYPE_IBITS32=32, TYPE_IBITS64=64 } bits;
} IntType;
+ struct {} ByteType;
struct {
enum { TYPE_NBITS32=32, TYPE_NBITS64=64 } bits;
} NumType;