mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add DString init.
This commit is contained in:
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user