mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Add *with_allocator procedures to mem
This commit is contained in:
@@ -4342,7 +4342,7 @@ skip:
|
||||
gb_mutex_lock(&p->file_add_mutex);
|
||||
defer (gb_mutex_unlock(&p->file_add_mutex));
|
||||
|
||||
array_add(&pkg->files, file);
|
||||
array_add(&file->pkg->files, file);
|
||||
|
||||
if (pkg->name.len == 0) {
|
||||
pkg->name = file->package_name;
|
||||
|
||||
Reference in New Issue
Block a user