mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-14 07:01:25 -07:00
Demo 004
This commit is contained in:
@@ -256,7 +256,9 @@ struct CycleChecker {
|
||||
};
|
||||
|
||||
CycleChecker *cycle_checker_add(CycleChecker *cc, Entity *e) {
|
||||
GB_ASSERT(cc != NULL);
|
||||
if (cc == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
if (cc->path == NULL) {
|
||||
gb_array_init(cc->path, gb_heap_allocator());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user