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
11
CT_BEGIN_API
12
17
CT_SETUP_API
arena_t
*
ctu_default_alloc
(
void
);
18
19
CT_END_API
compiler.h
CT_BEGIN_API
#define CT_BEGIN_API
Definition:
compiler.h:129
CT_END_API
#define CT_END_API
Definition:
compiler.h:130
ctu_default_alloc
CT_BEGIN_API CT_SETUP_API arena_t * ctu_default_alloc(void)
get the default allocator
Definition:
memory.c:43
arena_t
an allocator object
Definition:
arena.h:86
support
setup
include
setup
memory.h
Generated by
1.9.1