소스 검색

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