Jelajahi Sumber

Adding type def for terse int type

Vinicius Teshima 1 tahun lalu
induk
melakukan
01daf8895c
1 mengubah file dengan 16 tambahan dan 0 penghapusan
  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