forked from gatsby/datalink_repo
better debug print.
This commit is contained in:
@@ -40,6 +40,6 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
void AppAssert(const char * file, int line){
|
||||
DBG_PRINT("in %s #%4d [assert] .\n",file, line);
|
||||
DBG_PRINT("[assert]\tin %s:%4d.\n",file, line);
|
||||
while(1);
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#endif
|
||||
#if _814_DEBUG_LEVEL >= 1
|
||||
#define DBG_ERROR(...) __PRINT_BLOCK( \
|
||||
printf("[error]\tin"__FILE__":%4d ",__LINE__); \
|
||||
printf("[error]\tin "__FILE__":%4d ",__LINE__); \
|
||||
printf(__VA_ARGS__); \
|
||||
)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user