Move malloc_wrappers.c to tests/common

This commit is contained in:
Petteri Aimonen
2014-12-26 17:08:17 +02:00
parent e5cbee84e1
commit 8a28b70351
7 changed files with 10 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
#include <stdlib.h>
void* malloc_with_check(size_t size);
void free_with_check(void *mem);
void* counting_realloc(void *ptr, size_t size);
void counting_free(void *ptr);
size_t get_alloc_count();