assert.h
来自「Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 」· C头文件 代码 · 共 52 行
H
52 行
/* * * This software is released under the provisions of the GPL version 2. * see file "COPYING". If that file is not available, the full statement * of the license can be found at * * http://www.fsf.org/licensing/licenses/gpl.txt * * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved. * */#ifndef HLXSYS_ASSERT_H#define HLXSYS_ASSERT_H#if defined(_OPENWAVE)#include "platform/openwave/hx_op_debug.h"#define assert(x) OpASSERT(x)#elif !defined(WIN32_PLATFORM_PSPC)#include <assert.h>#endif /* !defined(WIN32_PLATFORM_PSPC) */#ifdef __cplusplusextern "C" {#endif /* __cplusplus */void __helix_assert(const char* pExpression, const char* pFilename, int lineNum);#ifdef __cplusplus}#endif /* __cplusplus */#if defined(WIN32_PLATFORM_PSPC)#include "hxtypes.h"#include <winbase.h>#include <dbgapi.h>#ifdef _DEBUG#define assert(x) if(!(x)) __helix_assert(#x, __FILE__, __LINE__);#else /* _DEBUG */#define assert(x)#endif /* _DEBUG */#endif /* defined(WIN32_PLATFORM_PSPC) */#endif /* HLXSYS_ASSERT_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?