use xar.len instead of len for accessing length of items

This commit is contained in:
imlodinu
2026-02-13 15:46:28 +08:00
parent 22a5792888
commit b906412f47

View File

@@ -49,7 +49,7 @@ dynamic_add :: proc(m: ^$D/Dynamic_Handle_Map($T, $Handle_Type), item: T, loc :=
}
_ = xar.append(&m.items, item, loc) or_return
i := len(m.items)-1
i := xar.len(m.items)-1
ptr := xar.get_ptr_unsafe(&m.items, i)
ptr^ = item