mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-23 22:41:05 +01:00
log: misc helper
This commit is contained in:
parent
cd54cd57cd
commit
2ee639d6f5
@ -73,6 +73,8 @@ void vgm_log_set_callback(void* ctx_p, int level, int type, void* callback);
|
||||
printf("\n"); \
|
||||
} while (0)
|
||||
|
||||
#define VGM_STEP() do { printf("%s: %s:%i\n", __FILE__, __FUNCTION__, __LINE__); } while (0)
|
||||
|
||||
#else /* VGM_DEBUG_OUTPUT */
|
||||
|
||||
#define VGM_LOG_ONCE(...) /* nothing */
|
||||
@ -83,6 +85,8 @@ void vgm_log_set_callback(void* ctx_p, int level, int type, void* callback);
|
||||
|
||||
#define VGM_LOGB(buf, buf_size, bytes_per_line) /* nothing */
|
||||
|
||||
#define VGM_STEP() /* nothing */
|
||||
|
||||
#endif /*VGM_DEBUG_OUTPUT*/
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user