Преглед изворни кода

Adding type def for terse int type

Vinicius Teshima пре 1 година
родитељ
комит
01daf8895c
1 измењених фајлова са 16 додато и 0 уклоњено
  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