Procházet zdrojové kódy

Adding type def for terse int type

Vinicius Teshima před 1 rokem
rodič
revize
01daf8895c
1 změnil soubory, kde provedl 16 přidání a 0 odebrání
  1. 16 0
      src/int.h

+ 16 - 0
src/int.h

@@ -0,0 +1,16 @@
+#ifndef INT_H
+#define INT_H
+
+#include <stdint.h>
+
+typedef int8_t  i8;
+typedef int16_t i16;
+typedef int32_t i32;
+typedef int64_t i64;
+
+typedef uint8_t  ui8;
+typedef uint16_t ui16;
+typedef uint32_t ui32;
+typedef uint64_t ui64;
+
+#endif