runtime: update iterator usage

This commit is contained in:
2026-05-25 19:14:52 +01:00
parent 6bfe3f0a6e
commit f2e1d89313
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -156,12 +156,12 @@ bshell_command *bshell_command_find_static(const char *name)
fx_foreach(asm_v, assemblies)
{
fx_assembly *assembly = NULL;
fx_value_get_object(&asm_v, &assembly);
fx_value_get_object(asm_v, &assembly);
fx_iterator *types = fx_assembly_get_types(assembly);
fx_foreach(v, types)
{
fx_type *ty = NULL;
fx_value_get_object(&v, &ty);
fx_value_get_object(v, &ty);
if (fx_type_id_compare(
fx_type_get_id(ty),
BSHELL_TYPE_COMMAND)