assert.h
来自「[随书类]Dos6.0源代码」· C头文件 代码 · 共 35 行
H
35 行
/***
*assert.h - define the assert macro
*
* Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Defines the assert(exp) macro.
* [ANSI/System V]
*
****/
#if defined(_DLL) && !defined(_MT)
#error Cannot define _DLL without _MT
#endif
#ifdef _MT
#define _FAR_ _far
#else
#define _FAR_
#endif
#undef assert
#ifdef NDEBUG
#define assert(exp) ((void)0)
#else
void _FAR_ _cdecl _assert(void _FAR_ *, void _FAR_ *, unsigned);
#define assert(exp) \
( (exp) ? (void) 0 : _assert(#exp, __FILE__, __LINE__) )
#endif /* NDEBUG */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?