Ylva And Malin
|
#include <ym_memory.h>
#include <ym_log.h>
#include <stdlib.h>
#include <inttypes.h>
#include <ym_assert.h>
#include <ym_allocator.h>
Macros | |
#define | YM_MEMORY_DEFAULT_SIZE 16384 |
#define | YM_MEMORY_SIZE YM_MEMORY_DEFAULT_SIZE |
Functions | |
ym_errc | ym_mem_init () |
ym_errc | ym_mem_shutdown () |
void * | ym_mem_reg_alloc (ym_mem_reg_id id, int size, YM_UNUSED char *file, YM_UNUSED int line) |
void | ym_mem_reg_dealloc (ym_mem_reg_id id, int size, void *ptr, YM_UNUSED char *file, YM_UNUSED int line) |
#define YM_MEMORY_DEFAULT_SIZE 16384 |
#define YM_MEMORY_SIZE YM_MEMORY_DEFAULT_SIZE |
ym_errc ym_mem_init | ( | ) |
void ym_mem_reg_dealloc | ( | ym_mem_reg_id | id, |
int | size, | ||
void * | ptr, | ||
YM_UNUSED char * | file, | ||
YM_UNUSED int | line | ||
) |
ym_errc ym_mem_shutdown | ( | ) |