⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debug.h

📁 Exuberant Ctags is a multilanguage reimplementation of the much-underused ctags(1) program and is i
💻 H
字号:
/**   $Id: debug.h,v 1.3 2006/05/30 04:37:12 darren Exp $**   Copyright (c) 1998-2002, Darren Hiebert**   This source code is released for free distribution under the terms of the*   GNU General Public License.**   External interface to debug.c*/#ifndef _DEBUG_H#define _DEBUG_H/**   Include files*/#include "general.h"  /* must always come first */#ifdef DEBUG# include <assert.h>#endif#include "entry.h"/**   Macros*/#ifdef DEBUG# define debug(level)      ((Option.debugLevel & (long)(level)) != 0)# define DebugStatement(x) x# define PrintStatus(x)    if (debug(DEBUG_STATUS)) printf x;# define Assert(c)         assert(c)#else# define DebugStatement(x)# define PrintStatus(x)# define Assert(c)# ifndef NDEBUG#  define NDEBUG# endif#endif/**   Data declarations*//*  Defines the debugging levels. */enum eDebugLevels {	DEBUG_READ   = 0x01,  /* echo raw (filtered) characters */	DEBUG_PARSE  = 0x02,  /* echo parsing results */	DEBUG_STATUS = 0x04,  /* echo file status information */	DEBUG_OPTION = 0x08,  /* echo option parsing */	DEBUG_CPP    = 0x10,  /* echo characters out of pre-processor */	DEBUG_RAW    = 0x20   /* echo raw (filtered) characters */};/**   Function prototypes*/extern void lineBreak (void);extern void debugPrintf (const enum eDebugLevels level, const char *const format, ...) __printf__ (2, 3);extern void debugPutc (const int level, const int c);extern void debugParseNest (const boolean increase, const unsigned int level);extern void debugCppNest (const boolean begin, const unsigned int level);extern void debugCppIgnore (const boolean ignore);extern void clearString (char *const string, const int length);extern void debugEntry (const tagEntryInfo *const tag);#endif  /* _DEBUG_H *//* vi:set tabstop=4 shiftwidth=4: */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -