Assert that x is true. 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) |
Enumerations | |
| enum | MemPoolError { POOL_OK, INVALID_POLICY, UNSUPPORTED_POLICY, NO_MEMORY } |
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) |
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.