panic.h
来自「Hausdorff Distance for Image Recognition」· C头文件 代码 · 共 29 行
H
29 行
/* * * $Header: /usr/u/wjr/src/panic/RCS/panic.h,v 1.4 1993/11/04 21:31:35 wjr Exp $ * *//* * * panic.h - declaration of panic functions. * */#ifndef PANIC_H#define PANIC_H/* * These two are used for panics: internal consistency check failure */extern void _panic(char *why, char *rcsid, int line, char *file) __attribute__ ((noreturn));#define panic(x) _panic((x),rcsid,__LINE__,__FILE__)/* * assert is for internal checks. In the production version it can be * redefined to null, for speed. */#define assert(x) if (!(x)) panic("assert failure")/* An expression version of assert */#define eassert(x) (!(x) ? (panic("assert failure"), 0) : 0)#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?