Allocates a T with context.allocator and returns a pointer to it.
New :: ($T: Type, $initialized := true) -> *T
Parameters
- $T: Type
- $initialized := true
- set to
falseto skip setting the new value to its default; its bytes are then whatever the allocator returned.
Returns
- *T