diff options
| author | 2022-08-14 11:16:03 +0200 | |
|---|---|---|
| committer | 2022-08-14 11:16:03 +0200 | |
| commit | 0d1e125832d0fd8ca31c5f782e7c3db774ae5a02 (patch) | |
| tree | e4622f75a8307d8ee1970f8bd6cc92766582f0ba /src/type.hff | |
| parent | c129f77ad724aa940b53a125de0e1e4de0ca7240 (diff) | |
woa
Diffstat (limited to 'src/type.hff')
| -rw-r--r-- | src/type.hff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/type.hff b/src/type.hff new file mode 100644 index 0000000..ce04063 --- /dev/null +++ b/src/type.hff @@ -0,0 +1,15 @@ +struct Type { + size usize, + align usize, + konst bool, + id uint, + u enum union { + Void, + Bool, + Int struct { sgn bool }, + Flo, + Ptr *Type, + Arr struct { child *Type, length i64 }, + Slice *Type, + } +} |