fx.io: update iterator semantics
This commit is contained in:
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user