Add DString init.

This commit is contained in:
Christoffer Lerno
2023-03-06 09:12:52 +01:00
parent a4231823df
commit 9eee250b10
21 changed files with 402 additions and 402 deletions

View File

@@ -28,7 +28,7 @@ macro Class! class_by_name(char* c)
return cls;
}
macro Class[] class_get_list(Allocator *allocator = mem::current_allocator())
macro Class[] class_get_list(Allocator *allocator = mem::heap())
{
int num_classes = _macos_objc_getClassList(null, 0);
if (!num_classes) return {};