aboutsummaryrefslogtreecommitdiff
path: root/code/lib/types.felan
blob: df7f5c3230ada5ebe2318913b7257fc17678cbc5 (plain)
1
2
3
4
5
6
7
8
string :: []u8;

array :: (comptime size:u64, comptime t:type) -> type {
  return struct {
    ptr : *t;
    size : @type_of(size) : size;
  };
};