1 #ifndef _MEMORY_TRACE_H 2 #define _MEMORY_TRACE_H 3 4 #include <stdbool.h> 5 #include <unistd.h> 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 void memtrace(void* addr, size_t size, const char* tag, bool is_using); 11 #ifdef __cplusplus 12 } 13 #endif 14 #endif 15