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

📄 assert.h

📁 Newlib 嵌入式 C库 标准实现代码
💻 H
字号:
/*	assert.h*/#ifdef __cplusplusextern "C" {#endif#include "_ansi.h"#undef assert#ifdef NDEBUG           /* required by ANSI standard */# define assert(__e) ((void)0)#else# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \						       __ASSERT_FUNC, #__e))# ifndef __ASSERT_FUNC  /* Use g++'s demangled names in C++.  */#  if defined __cplusplus && defined __GNUC__#   define __ASSERT_FUNC __PRETTY_FUNCTION__  /* C99 requires the use of __func__, gcc also supports it.  */#  elif defined __GNUC__ || __STDC_VERSION__ >= 199901L#   define __ASSERT_FUNC __func__  /* failed to detect __func__ support.  */#  else#   define __ASSERT_FUNC ((char *) 0)#  endif# endif /* !__ASSERT_FUNC */#endif /* !NDEBUG */void _EXFUN(__assert, (const char *, int, const char *)	    _ATTRIBUTE ((__noreturn__)));void _EXFUN(__assert_func, (const char *, int, const char *, const char *)	    _ATTRIBUTE ((__noreturn__)));#ifdef __cplusplus}#endif

⌨️ 快捷键说明

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