今天第一次用。发现一个问题 def.h文件
为什么
重复定义别名?是为了多种命名习惯搭配?
- typedef unsigned char uint8_t;
- typedef unsigned int uint16_t;
- typedef unsigned long uint32_t;
-
- typedef signed char int8_t;
- typedef signed int int16_t;
- typedef signed long int32_t;
-
- typedef unsigned char uint8;
- typedef unsigned int uint16;
- typedef unsigned long uint32;
-
- typedef signed char int8;
- typedef signed int int16;
- typedef signed long int32;
-
- typedef unsigned char u8;
- typedef unsigned int u16;
- typedef unsigned long u32;
-
- typedef signed char s8;
- typedef signed int s16;
- typedef signed long s32;
复制代码
|