Cthulhu  0.2.10
Cthulhu compiler collection
memory.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-only
2 
3 #pragma once
4 
5 #include <ctu_setup_api.h>
6 
7 #include "core/compiler.h"
8 
9 typedef struct arena_t arena_t;
10 
12 
17 CT_SETUP_API arena_t *ctu_default_alloc(void);
18 
#define CT_BEGIN_API
Definition: compiler.h:129
#define CT_END_API
Definition: compiler.h:130
CT_BEGIN_API CT_SETUP_API arena_t * ctu_default_alloc(void)
get the default allocator
Definition: memory.c:43
an allocator object
Definition: arena.h:86