types.h

来自「嵌入式linux的bootloader运行实例程序」· C头文件 代码 · 共 47 行

H
47
字号
/////////////////////////////////////////////////////////////////////////////////// Copyright(c) 2001-2002 Hybus Co,.ltd. All rights reserved.//  // Module name://      main.c//  // Description://  //  // Author://      bedguy//  // Created://      2002.10/////////////////////////////////////////////////////////////////////////////////#ifndef _TYPES_H_4782374832742374327423#define _TYPES_H_4782374832742374327423typedef unsigned long	ulong;typedef unsigned short	ushort;typedef unsigned char	uchar;typedef unsigned int	uint;#ifndef __cplusplustypedef int				bool;#define	true			1#define false			0#endif// print in hex value.// type= 8 : print in format "ff".// type=16 : print in format "ffff".// type=32 : print in format "ffffffff".typedef enum {	VAR_LONG=32,	VAR_SHORT=16,	VAR_CHAR=8} VAR_TYPE;#ifndef NULL#define NULL (void *)0#endif#endif		// end _TYPES_H_4782374832742374327423.

⌨️ 快捷键说明

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