dbug.h
来自「两幅图像匹配算法」· C头文件 代码 · 共 49 行
H
49 行
/* * * $Header: /usr/u/wjr/include/RCS/dbug.h,v 1.5 1993/09/02 21:49:03 wjr Exp $ * *//* * * debug.h - the ever-useful DEBUG() macro. * */#ifndef DEBUG_H#define DEBUG_H#ifdef DBUG/* Need stdio to output to stderr - include it to make sure */#include <stdio.h>#ifndef VERBLEVEL#define VERBLEVEL 0#endif#ifdef __GNUC__#define DEBUG(s, v...) (void)fprintf(stderr, s, ##v)#else#define DEBUG(s, v) (void)fprintf(stderr, s, v)#endif#define VDEBUG(s, v, n) do {if (n <= VERBLEVEL) DEBUG(s, v);} while(0)#else#ifdef __GNUC__#define DEBUG(s, v...)#else#define DEBUG(s, v)#endif#define VDEBUG(s, v, n)#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?