Debian Codegraph @

ext/amalloc.h

raw symbols SCIP
1 /*
2 * debugging malloc()/realloc()/calloc()/free() that attempts
3 * to keep track of just what's been allocated today.
4 */
5 #ifndef AMALLOC_D
6 #define AMALLOC_D
7
8 #include "config.h"
9
10 #ifdef USE_AMALLOC
11
12 extern void *amalloc(int);
13 extern void *acalloc(int,int);
14 extern void *arealloc(void*,int);
15 extern void afree(void*);
16 extern void adump();
17
18 #define malloc amalloc
19 #define calloc acalloc
20 #define realloc arealloc
21 #define free afree
22
23 #else
24
25 #define adump() (void)1
26
27 #endif
28
29 #endif/*AMALLOC_D*/