array reflection

This commit is contained in:
2026-07-22 10:12:12 +02:00
parent 0d04925b3a
commit 07e89e23e1
12 changed files with 675 additions and 68 deletions
+6 -4
View File
@@ -1,6 +1,8 @@
Layout :: enum {
auto
c
Layout :: enum { auto c }
ArrayInfo :: struct {
child type
len usize
}
FieldInfo :: struct {
@@ -28,7 +30,7 @@ TypeInfo :: union(enum) {
bool void
integer void
float void
array void
array ArrayInfo
pointer void
slice void
range void