blob: b8c27ec2442eaee27fdc00bd09f86594fb6ede74 [file] [log] [blame]
#include <stdlib.h>
void* malloc_with_check(size_t size);
void free_with_check(void *mem);
void* realloc_with_check(void *ptr, size_t size);
size_t get_alloc_count();
size_t get_allocation_size(const void *mem);
void set_max_realloc_size(size_t max_size);