mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
@@ -46,8 +46,7 @@ init_with_contents :: proc(q: ^$Q/Queue($T), backing: []T) -> bool {
|
|||||||
cap = builtin.len(backing),
|
cap = builtin.len(backing),
|
||||||
allocator = {procedure=runtime.nil_allocator_proc, data=nil},
|
allocator = {procedure=runtime.nil_allocator_proc, data=nil},
|
||||||
}
|
}
|
||||||
q.len = len(backing)
|
q.len = builtin.len(backing)
|
||||||
q.offset = len(backing)
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user