cache添加宏定义CACHE_DEBUG_SWITCH打印debug信息
This commit is contained in:
6
cache/src/tango_cache_tools.h
vendored
6
cache/src/tango_cache_tools.h
vendored
@@ -6,6 +6,12 @@
|
||||
#define MESA_HANDLE_RUNTIME_LOGV2(handle, lv, fmt, args...) \
|
||||
MESA_handle_runtime_log((handle), (lv), "TANGO_CACHE", "%s:%d, " fmt, __FILE__, __LINE__, ##args)
|
||||
|
||||
#ifdef CACHE_DEBUG_SWITCH
|
||||
#define DBG_CACHE(msg...) do{printf(msg);}while(0)
|
||||
#else
|
||||
#define DBG_CACHE(msg...)
|
||||
#endif
|
||||
|
||||
int Base64_EncodeBlock(const unsigned char *in, int inl, unsigned char *out);
|
||||
int Base64_DecodeBlock(const unsigned char *in, int inl, unsigned char *out, int outsize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user