aboutsummaryrefslogtreecommitdiff
path: root/code/lib/types.felan
blob: 087f884541049cc138dba97d7414cd4b2633f3e6 (plain)
1
2
3
4
5
6
array :: (comptime size:u64, comptime t:type) -> type {
  return struct {
    ptr : *t;
    size : @type_of(size) : size;
  };
};