22 #if defined(HIGH_PERFORMANCE) 23 #define NO_HEAP_TRACKING 1 26 #define PAHO_MEMORY_ERROR -99 33 #if !defined(NO_HEAP_TRACKING) 41 #define malloc(x) mymalloc(__FILE__, __LINE__, x) 49 #define realloc(a, b) myrealloc(__FILE__, __LINE__, a, b) 55 #define free(x) myfree(__FILE__, __LINE__, x) 68 #if defined(__cplusplus) 72 void*
mymalloc(
char*,
int,
size_t size);
73 void*
myrealloc(
char*,
int,
void* p,
size_t size);
74 void myfree(
char*,
int,
void* p);
void * mymalloc(char *, int, size_t size)
void * myrealloc(char *, int, void *p, size_t size)
void Heap_terminate(void)
int HeapDumpString(FILE *file, char *str)
void myfree(char *, int, void *p)
void Heap_scan(FILE *file)
void * Heap_findItem(void *p)
LIBMQTT_API heap_info * Heap_get_info(void)
void Heap_unlink(char *file, int line, void *p)
int Heap_initialize(void)