libpulsar
A modular compiler for the pulsar programming language
Loading...
Searching...
No Matches
mtrack.h
Go to the documentation of this file.
1
8#include "def.h"
9
10// For mtrack functionality
11#if defined(PS_DEBUG) && defined(MTRACK_ENABLE) && !defined(MTRACK_ENABLED)
12 #define MTRACK_ENABLED
13 #define malloc tmalloc
14 #define realloc realloc
15 #define free tfree
16 #include "mtrack/tracker.h"
17#else
18 #define tinit() /* mothing */
19 #define tdestroy() /* nothing */
20 #define tdump(dump_mode) /* nothing */
21 #define tdump_on_exit() /* nothing */
22 #define tusage() 0
23#endif
Base definitions.