RetroArch
|
Go to the source code of this file.
Macros | |
#define | MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1) & ~(MEM_ALIGNMENT-1)) |
#define | MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNMENT-1))) |
Typedefs | |
typedef u16_t | mem_size_t |
Functions | |
void | mem_init (void) |
void * | mem_malloc (mem_size_t size) |
void | mem_free (void *mem) |
void * | mem_realloc (void *mem, mem_size_t size) |
void * | mem_reallocm (void *mem, mem_size_t size) |
#define MEM_ALIGN | ( | addr | ) | ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNMENT-1))) |
#define MEM_ALIGN_SIZE | ( | size | ) | (((size) + MEM_ALIGNMENT - 1) & ~(MEM_ALIGNMENT-1)) |
typedef u16_t mem_size_t |
void* mem_malloc | ( | mem_size_t | size | ) |
void* mem_realloc | ( | void * | mem, |
mem_size_t | size | ||
) |
void* mem_reallocm | ( | void * | mem, |
mem_size_t | size | ||
) |