phased-executor #4
@@ -25,8 +25,8 @@ Bits :: struct {
|
||||
length: int, // Total number of bits being stored
|
||||
}
|
||||
|
||||
delete :: proc(using bits: Bits, allocator := context.allocator) {
|
||||
delete_slice(int_array, allocator)
|
||||
delete :: proc(bits: Bits, allocator := context.allocator) {
|
||||
delete_slice(bits.int_array, allocator)
|
||||
}
|
||||
|
||||
make :: proc(#any_int length: int, allocator := context.allocator) -> Bits {
|
||||
|
||||
Reference in New Issue
Block a user