Go to the source code of this file.
|
struct | nullalloc |
| An allocator for the standard allocator, which only has global state,. More...
|
◆ calloc()
void * calloc |
( |
nullalloc * | DEBUG_UNUSEDself, |
|
|
size_t | UNUSEDcount, |
|
|
size_t | UNUSEDsize ) |
|
static |
Definition at line 33 of file null.h.
34 {
36 return NULL;
37}
#define DEBUG_ASSERT(expr)
◆ free()
void free |
( |
nullalloc * | DEBUG_UNUSEDself, |
|
|
void * | UNUSEDptr ) |
|
static |
Definition at line 39 of file null.h.
39 {
41 PANIC(
"Not possible to free memory from the null allocator, as it allocates nothing")
42}
◆ get()
Definition at line 19 of file null.h.
An allocator for the standard allocator, which only has global state,.
◆ malloc()
void * malloc |
( |
nullalloc * | DEBUG_UNUSEDself, |
|
|
size_t | UNUSEDsize ) |
|
static |
◆ realloc()
void * realloc |
( |
nullalloc * | DEBUG_UNUSEDself, |
|
|
void * | DEBUG_UNUSEDptr, |
|
|
size_t | UNUSEDsize ) |
|
static |