Skip to content

Commit cff01af

Browse files
committed
add debug.h
1 parent 59866c4 commit cff01af

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jni/util/debug.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#pragma once
2+
3+
#ifdef DEBUG
4+
#define DEBUG_PRINT(fmt, args...) fprintf(stderr, fmt, ## args)
5+
#else
6+
#define DEBUG_PRINT(fmt, args...)
7+
#endif

0 commit comments

Comments
 (0)