fx.io: update iterator semantics

This commit is contained in:
2026-05-28 20:53:53 +01:00
parent 4c06ded99f
commit b31e82aaf8
2 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ int main(int argc, const char **argv)
fx_foreach(val, it)
{
fx_directory_entry *entry = NULL;
fx_value_get_pointer(&val, (void **)&entry);
fx_value_get_pointer(val, (void **)&entry);
printf("%s\n", fx_path_ptr(entry->filepath));
}