- AnyList now also defaults to the temp allocator.

- `os::getcwd` and `os::get_home_dir` requires an explicit allocator.
- `file::load_new` and `file::load_path_new` removed.
This commit is contained in:
Christoffer Lerno
2025-03-18 18:34:52 +01:00
parent cfc87a9d66
commit 7e100472e7
15 changed files with 45 additions and 44 deletions

View File

@@ -26,7 +26,7 @@ macro ObjcClass? class_by_name(ZString c)
return cls ?: CLASS_NOT_FOUND?;
}
macro ObjcClass[] class_get_list(Allocator allocator = allocator::heap())
macro ObjcClass[] class_get_list(Allocator allocator)
{
int num_classes = objc::getClassList(null, 0);
if (!num_classes) return {};