massert.h

来自「这是一个著名的应用层组播中间件的源码」· C头文件 代码 · 共 13 行

H
13
字号
#ifndef ASSERT#define ASSERT(x) \   { \     if(x) {}\     else {\       printf("Assert(%s) failed in file %s (included from %s), line %d\n",#x,__FILE__,__BASE_FILE__,__LINE__);\       fprintf(stderr, "Assert(%s) failed in file %s (included from %s), line %d\n",#x,__FILE__,__BASE_FILE__,__LINE__);\       abort();\     }\   }#endif

⌨️ 快捷键说明

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