basetype.h

来自「It is for standalone platform executing 」· C头文件 代码 · 共 64 行

H
64
字号
#ifndef _basetype_H#define _basetype_H//============================================================================//  File Name: basetype.h////  (c) Copyright [2002] Cirrus Logic Inc. All rights reserved////  This source code is Cirrus Logic, Inc. proprietary and confidential //  information////  Description://      Basic data types and definitions////  Modification History://      $Id: basetype.h,v 1.2 2004/07/20 06:08:40 raphael Exp $//============================================================================#define TRUE 	1#define FALSE   0// For functions returning "int", 0 is traditionally success and non-zero an// error code.#define SUCCESS 0 #define FAIL    1#undef NULL#define NULL    0// Someone decided that "Booleans" equate to SUCCESS or FAIL, so beware when // you see functions returning "Boolean", SUCCESS == FALSE and FAIL == TRUE !typedef unsigned char    Boolean;typedef unsigned char    Byte;typedef unsigned char    Uint8;typedef char			 Int8;typedef unsigned short   Uint16;typedef short			 Int16;typedef unsigned long    Uint32;typedef long int         Int32;//--begin:Bug#21315,Kate,DRC failed when audio output is 2.0CHtypedef signed long long	Int64;typedef unsigned long long  Uint64;//--end:Bug#21315#ifndef EXTERN#define EXTERN	extern#endif#ifndef LOCAL#define LOCAL	static#endif// Macro to define the number of elements in a static array#ifndef NELEMENTS#define NELEMENTS(a)	(sizeof(a) / sizeof(a[0]))#endif#endif

⌨️ 快捷键说明

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