8.3
general documentation
Loading...
Searching...
No Matches
bft_mem.h File Reference
#include "cs_defs.h"
#include "cs_mem.h"
Include dependency graph for bft_mem.h:

Go to the source code of this file.

Macros

#define BFT_MALLOC(_ptr, _ni, _type)
#define BFT_REALLOC(_ptr, _ni, _type)
#define BFT_FREE(_ptr)

Macro Definition Documentation

◆ BFT_FREE

#define BFT_FREE ( _ptr)
Value:
cs_mem_free(_ptr, #_ptr, __FILE__, __LINE__), _ptr = NULL

◆ BFT_MALLOC

#define BFT_MALLOC ( _ptr,
_ni,
_type )
Value:
_ptr = (_type *) cs_mem_malloc(_ni, sizeof(_type), \
#_ptr, __FILE__, __LINE__)

◆ BFT_REALLOC

#define BFT_REALLOC ( _ptr,
_ni,
_type )
Value:
_ptr = (_type *) cs_mem_realloc(_ptr, _ni, sizeof(_type), \
#_ptr, __FILE__, __LINE__)