cache entities to avoid allocations
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
d3e93b6a72
commit
f38ebeab14
6 changed files with 324 additions and 37 deletions
|
|
@ -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
|
||||
|
||||
/// @}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue