(wip) module version + block info
This commit is contained in:
parent
b9ba5eee11
commit
3a7ee24509
File diff suppressed because it is too large
Load Diff
@ -175,6 +175,10 @@ pub fn PinnedArrayAdvanced(comptime T: type, comptime MaybeIndex: ?type, comptim
|
||||
|
||||
const Array = @This();
|
||||
|
||||
pub fn clear(array: *Array) void {
|
||||
array.length = 0;
|
||||
}
|
||||
|
||||
pub fn const_slice(array: *const Array) []const T {
|
||||
return array.pointer[0..array.length];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user