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

📄 types.h

📁 一个UDF系统的SCSI的CDROM刻录软件.
💻 H
字号:

#ifndef	_TYPES_H
#define	_TYPES_H
#define _BIT_FIELDS_LTOH
/*
typedef struct{
	BYTE bytes[2];
}Uint16;

typedef struct{
	BYTE bytes[4];
}Uint32;

typedef struct{
	BYTE bytes[8];
}Uint64;

typedef struct{
	BYTE bytes[2];
}int16;

typedef struct{
	BYTE bytes[4];
}int32;
*/

typedef	__int8				int8;
typedef	__int16				int16;
typedef	__int32				int32;
typedef	__int64				int64;

typedef	unsigned __int16		Uint16;
typedef	unsigned __int32		Uint32;
typedef	unsigned __int64		Uint64;

typedef	unsigned short		Ushort;
typedef	unsigned char		Uchar;
typedef	unsigned char		Ucbit;

#define Ulong	Uint64;
/*
static int reverseUint32(Uint32 input){
	return (input.bytes[3]<<24)+(input.bytes[2]<<16)+
		(input.bytes[1]<<8)+input.bytes[0];
}
static int reverseUint16(Uint16 input){
	return 	(input.bytes[1]<<8)+input.bytes[0];
}
*/
#endif	/* _TYPES_H */

⌨️ 快捷键说明

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