Chombo + EB  3.0
Macros | Functions
memtrack.H File Reference
#include <malloc.h>
Include dependency graph for memtrack.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _MEMTRACK_H_
 
#define callocMT(a_a, a_b)   calloc (a_a, a_b)
 
#define reallocMT(a_a, a_b)   realloc(a_a, a_b)
 
#define mallocMT(a_a)   malloc (a_a)
 
#define freeMT(a_a)   free (a_a)
 

Functions

void AddTrack (void *a_addr, size_t a_asize, const char *a_fname, int a_lnum, bool a_malloc)
 
void RemoveTrack (void *a_addr, bool a_malloc)
 

Macro Definition Documentation

#define _MEMTRACK_H_
#define callocMT (   a_a,
  a_b 
)    calloc (a_a, a_b)
#define reallocMT (   a_a,
  a_b 
)    realloc(a_a, a_b)
#define mallocMT (   a_a)    malloc (a_a)

Referenced by blockWrite(), and write().

#define freeMT (   a_a)    free (a_a)

Referenced by blockWrite(), and write().

Function Documentation

void AddTrack ( void *  a_addr,
size_t  a_asize,
const char *  a_fname,
int  a_lnum,
bool  a_malloc 
)
inline
void RemoveTrack ( void *  a_addr,
bool  a_malloc 
)
inline