vm_debug.h

来自「这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数」· C头文件 代码 · 共 60 行

H
60
字号
/*////                  INTEL CORPORATION PROPRIETARY INFORMATION//     This software is supplied under the terms of a license agreement or//     nondisclosure agreement with Intel Corporation and may not be copied//     or disclosed except in accordance with the terms of that agreement.//       Copyright(c) 2003-2005 Intel Corporation. All Rights Reserved.//*/#ifndef __VM_DEBUG_H__#define __VM_DEBUG_H__#include "vm_types.h"#ifdef __cplusplusextern "C"{#endif /* __cplusplus *//* ============================================================================// Define ASSERT and VERIFY for debugging purposes*/#ifdef VM_DEBUG#include <assert.h>#define VM_ASSERT(f) assert((f))#define VM_VERIFY(f) VM_ASSERT((f))#else /* VM_DEBUG */#define assert VM_ASSERT#define VM_ASSERT(f) ((void) 0)#define VM_VERIFY(f) ((void) (f))#endif /* VM_DEBUG */#if (_WIN32_WCE == 0x0300)#define VM_ASSERT(exp) ((void)0)#endif /* defined(_WIN32_WCE) *//* ============================================================================// CMC END*/void vm_message(const vm_char *format, ...);/* VM_DEBUG can be used to selectively output debugging message. * Bit 0:           critical errors. * Bit 1:           warnings * Bit 2:           general infomation * Bit 3-31:        user defined information *//* Functions to display a debug message */void vm_debug_msg(int level, const vm_char *format, ...);void vm_debug_trace(int level, const vm_char *format, ...);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* __VM_DEBUG_H__ */

⌨️ 快捷键说明

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