70 cout <<
"\n---------------- memory statistics ----------------\n";
78 cerr <<
"Fatal error: out of memory\n";
81 cerr <<
"Fatal error: invalid pointer\n";
84 cerr <<
"Corrupted heap. Please check whether there are objects used after "
88 cerr <<
"Fatal error: input argument of allocator is too large\n";
91 cerr <<
"Double free detected\n";
The list class represents a linked list.
void fast_delete(void *ptr)
void fast_free(void *ptr, size_t sz)
void * fast_new(size_t s)
void * fast_alloc(size_t sz)
bool visit_mem(const mi_heap_t *heap, const mi_heap_area_t *heapinfo, void *block, size_t blocksize, void *arg)
void * fast_realloc(void *ptr, size_t, size_t new_size)
void mem_err_handler(int err, void *arg)