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

📄 assert.h

📁 操作系统源代码
💻 H
字号:
/*assert.h*/#ifndef INET_ASSERT_H#define INET_ASSERT_H#include "const.h"#ifndef assert #if NDEBUG#define assert(x) 0#define assertN(n,x)	0#define compare(a,t,b)	0#else#define assert(x) (!(x) ? (ip_panic (( "assertion failed" )) \		,0) : 0)#define assertN(n,x) (!(x) ? (ip_panic (( "assertion %d failed", n )),0) : 0)#define compare(a,t,b) (!((a) t (b)) ? (ip_panic(( "compare failed (%d, %d)", \	a, b )),0) : 0)#endif#endif#endif /* INET_ASSERT_H */

⌨️ 快捷键说明

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