cache entities to avoid allocations

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2023-11-20 08:58:58 +01:00 committed by Folling
parent d3e93b6a72
commit f38ebeab14
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
6 changed files with 324 additions and 37 deletions

View file

@ -1,6 +1,6 @@
#pragma once
/// \file memory.h
/// \file global.h
/// \author Folling <folling@ikarus.world>
#include <ikarus/macros.h>
@ -9,8 +9,12 @@
/// \brief Information relevant to the entire library.
/// @{
IKARUS_BEGIN_HEADER
/// \brief Frees a pointer allocated by ikarus. Every pointer returned by a function must be freed using this function unless
/// explicitly stated otherwise.
IKA_API void ikarus_free(void * ptr);
IKARUS_END_HEADER
/// @}