소스 검색

[int.h] Adding typedef for i8, u8, i16 and u16

Vinicius Teshima 1 년 전
부모
커밋
d884d929b3
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/int.h

+ 4 - 0
src/int.h

@@ -3,6 +3,10 @@
 
 #include <stdint.h>
 
+typedef int8_t i8;
+typedef uint8_t u8;
+typedef int16_t i16;
+typedef uint16_t u16;
 typedef int32_t i32;
 typedef uint32_t u32;
 typedef int64_t i64;