aboutsummaryrefslogtreecommitdiff
path: root/intdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'intdef.h')
-rw-r--r--intdef.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/intdef.h b/intdef.h
index 03a8ac3..d6c2c59 100644
--- a/intdef.h
+++ b/intdef.h
@@ -4,13 +4,24 @@
#ifndef INTDEF_H
#define INTDEF_H
-typedef unsigned char byte;
+typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef long long vlong;
typedef unsigned long long uvlong;
+typedef ulong usize;
+typedef long isize;
+typedef uchar u8;
+typedef char i8;
+typedef ushort u16;
+typedef short i16;
+typedef uint u32;
+typedef int i32;
+typedef uvlong u64;
+typedef vlong i64;
+
#endif
// vi: sw=4 ts=4 noet tw=80 cc=80