Nilorea Library

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros Groups
n_debug_mem_h.h
Go to the documentation of this file.
1
7 #ifndef N_DEBUG_MEM_H_HEADER_GUARD
8 #define N_DEBUG_MEM_H_HEADER_GUARD
9
10 #ifdef __cplusplus
11 extern C
12 {
13 #endif
14
15 #include "n_debug_mem.h"
16
17 #ifdef DEBUG_MEM
18
19 #define malloc( size ) db_mem_alloc( (size) , __LINE__, __FILE__, __func__ )
20
21 #define free( ptr ) db_mem_free( (ptr) )
22 #endif
23
24 #ifdef __cplusplus
25 }
26 #endif
27
28 #endif