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

📄 debug.h

📁 vc环境下的pgp源码
💻 H
字号:
/****************************************************************************
 *
 * Copyright (c) 1998, Network Associates, Inc. and its affiliated Companies
 *
 ****************************************************************************/

#ifndef _INCL_DEBUG_H

/* macro for printing  debug messages */
#ifdef DEBUG
    #define DPRINT(f)
#else
    #define DEBUGSYSLOG(f)
#endif

/* macro for printing binary data in hex to syslog */
#ifdef DEBUG
    extern void _PrintBytes(unsigned char *, unsigned int);
    #define DEBUGPRINTDATA(a, b) _PrintBytes((a),(b))
#else
    #define DEBUGPRINTDATA(a, b)
#endif

/* macro for doing assertions, see "Writing Solid Code" */
#ifdef DEBUG
    extern void _Assert(char *, unsigned);
    #define ASSERT(f) \
        if (f)  \
            {/*EMPTY*/} \
        else    \
            _Assert(__FILE__,__LINE__)
#else
    #define ASSERT(f)
#endif


#define _INCL_DEBUG_H
#endif

⌨️ 快捷键说明

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