From 45ac9669017cabc6ffe873fbb52c45c1265d1e38 Mon Sep 17 00:00:00 2001 From: Shane Shrybman Date: Tue, 17 Feb 2026 22:44:35 -0500 Subject: [PATCH] Add missing return values on xar iterators --- core/container/xar/xar.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/container/xar/xar.odin b/core/container/xar/xar.odin index e7215af71..32dcf13d3 100644 --- a/core/container/xar/xar.odin +++ b/core/container/xar/xar.odin @@ -481,7 +481,7 @@ array_iterate_by_val :: proc(it: ^Array_Iterator($T, $SHIFT)) -> (val: T, idx: i val = array_get(it.xar, it.idx) idx = it.idx it.idx += 1 - return val, true + return val, idx, true } @@ -502,7 +502,7 @@ array_iterate_by_ptr :: proc(it: ^Array_Iterator($T, $SHIFT)) -> (val: ^T, idx: val = array_get_ptr(it.xar, it.idx) idx = it.idx it.idx += 1 - return val, true + return val, idx, true }