From afcf5dd75841ace0be6e1c59d9b7769a4170d50b Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Wed, 15 Sep 2021 00:53:24 +0400 Subject: Added new entities in loadScene --- src/storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/storage.c') diff --git a/src/storage.c b/src/storage.c index 1935ae7..b5b50ec 100644 --- a/src/storage.c +++ b/src/storage.c @@ -69,7 +69,7 @@ internal_registerComponent(storage_t *storage, const char *name, size_t size) }; } -void * // NULL if component with such name is not found +char * // NULL if component with such name is not found internal_addComponent(storage_t *this, entity_t idx, const char *name) { component_pair_t *pair = findPair(this, name); @@ -86,7 +86,7 @@ internal_addComponent(storage_t *this, entity_t idx, const char *name) } // Not intended for use outside of macros -void * // NULL if component is not found +char * // NULL if component is not found internal_getComponent(storage_t *this, entity_t idx, const char *name) { for (int i = 0; i < this->componentsStored; ++i) -- cgit v1.2.3