The namespace rml contains components of low-level memory pool interface. More...
Classes | |
struct | MemPoolPolicy |
Typedefs | |
typedef void *(* | rawAllocType )(intptr_t pool_id, size_t &bytes) |
typedef int(* | rawFreeType )(intptr_t pool_id, void *raw_ptr, size_t raw_bytes) |
Functions | |
MemPoolError | pool_create_v1 (intptr_t pool_id, const MemPoolPolicy *policy, rml::MemoryPool **pool) |
bool | pool_destroy (MemoryPool *memPool) |
void * | pool_malloc (MemoryPool *memPool, size_t size) |
void * | pool_realloc (MemoryPool *memPool, void *object, size_t size) |
void * | pool_aligned_malloc (MemoryPool *mPool, size_t size, size_t alignment) |
void * | pool_aligned_realloc (MemoryPool *mPool, void *ptr, size_t size, size_t alignment) |
bool | pool_reset (MemoryPool *memPool) |
bool | pool_free (MemoryPool *memPool, void *object) |
The namespace rml contains components of low-level memory pool interface.
Assert that x is true.
If x is false, print assertion failure message. If the comment argument is not NULL, it is printed as part of the failure message. The comment argument has no other effect.