#include "cs_defs.h"
#include "cs_mem.h"
Go to the source code of this file.
|
#define | BFT_MALLOC(_ptr, _ni, _type) |
|
#define | BFT_REALLOC(_ptr, _ni, _type) |
|
#define | BFT_FREE(_ptr) cs_mem_free(_ptr, #_ptr, __FILE__, __LINE__), _ptr = NULL |
|
◆ BFT_FREE
#define BFT_FREE |
( |
|
_ptr | ) |
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__)