Chombo + EB + MF  3.2
Macros | Functions
memtrack.H File Reference
#include <cstdlib>
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

◆ _MEMTRACK_H_

#define _MEMTRACK_H_

◆ callocMT

#define callocMT (   a_a,
  a_b 
)    calloc (a_a, a_b)

◆ reallocMT

#define reallocMT (   a_a,
  a_b 
)    realloc(a_a, a_b)

◆ mallocMT

#define mallocMT (   a_a)    malloc (a_a)

◆ freeMT

#define freeMT (   a_a)    free (a_a)

Function Documentation

◆ AddTrack()

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

◆ RemoveTrack()

void RemoveTrack ( void *  a_addr,
bool  a_malloc 
)
inline