有没有办法为不同类型做多个typedef
?
示例,而不是这样做
typedef unsigned char UBYTE;
typedef signed char SBYTE;
typedef unsigned short int UWORD;
typedef signed short int SWORD;
我可以做这样的事情
typedef {
unsigned char UBYTE;
signed char SBYTE;
unsigned short int UWORD;
signed short int SWORD;
}