Quellcode durchsuchen

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

Vinicius Teshima vor 1 Jahr
Ursprung
Commit
d884d929b3
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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;