#ifndef ZXIC_GENERIC_INTERFACE_H | |
#define ZXIC_GENERIC_INTERFACE_H | |
void* ZXIC_Malloc(int size); | |
void ZXIC_Free(void *ptr); | |
void* ZXIC_Realloc(void *ptr, int size); | |
void ZXIC_Log(const char *aFormat, ...); | |
#define zlog(fmt, args...) \ | |
do {ZXIC_Log("[%s-%d]: " fmt"\n", __FUNCTION__, __LINE__, ## args);} while (0) | |
#endif /*ZXIC_GENERIC_INTERFACE_H*/ | |