📄 bittypes.h
字号:
#ifndef BITTYPES_H_INCLUDED#define BITTYPES_H_INCLUDED#include <config.h>#if SIZEOF_CHAR == 1typedef signed char int8;#else#error sizeof(char) is not equal to 8#endif#if SIZEOF_UNSIGNED_CHAR == 1typedef unsigned char uint8;#else#error sizeof(unsigned char) is not equal to 8#endif#if SIZEOF_SHORT == 2typedef short int16;#elif SIZEOF_INT == 2typedef int int16;#else#error Unable to find type for int16#endif#if SIZEOF_UNSIGNED_SHORT == 2typedef unsigned short uint16;#elif SIZEOF_UNSIGNED_INT == 2typedef unsigned int uint16;#elif SIZEOF_UNSIGNED_LONG == 2typedef unsigned long uint16;#else#error Unable to find type for uint16#endif#if SIZEOF_INT == 4typedef int int32;#elif SIZEOF_LONG == 4typedef long int32;#elif SIZEOF_SHORT == 4typedef short int32;#else#error Unable to find type for int32#endif#if SIZEOF_UNSIGNED_INT == 4typedef unsigned int uint32;#elif SIZEOF_UNSIGNED_LONG == 4typedef unsigned long uint32;#elif SIZEOF_UNSIGNED_SHORT == 4typedef unsigned short uint32;#else#error Unable to find type for uint32!!!!#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -