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 bdd4b4db95
commit 424bd22aa5
No known key found for this signature in database
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
/// @}