summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-09-15 00:53:24 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-09-15 00:53:24 +0400
commitafcf5dd75841ace0be6e1c59d9b7769a4170d50b (patch)
treeea078dd7b699c0c40c02b03a665a3bfb4cf30203 /src/storage.c
parent5be3c38211c6e236fdf39c2885da571d93ad32ae (diff)
Added new entities in loadScene
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c4
1 files changed, 2 insertions, 2 deletions
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)