blob: c5dfaa1120c60a8c084312a2ca7e46d64c277eae [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001#ifndef ZXIC_GENERIC_INTERFACE_H
2#define ZXIC_GENERIC_INTERFACE_H
3
4void* ZXIC_Malloc(int size);
5
6void ZXIC_Free(void *ptr);
7
8void* ZXIC_Realloc(void *ptr, int size);
9
10void ZXIC_Log(const char *aFormat, ...);
11
12#define zlog(fmt, args...) \
13 do {ZXIC_Log("[%s-%d]: " fmt"\n", __FUNCTION__, __LINE__, ## args);} while (0)
14
15#endif /*ZXIC_GENERIC_INTERFACE_H*/
16