aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common.h b/common.h
index 183392a..f22f588 100644
--- a/common.h
+++ b/common.h
@@ -24,6 +24,18 @@
#endif
#endif
+#define ITYPE_MACROS \
+ T(SCHAR, signed, char, int) \
+ T(UCHAR, unsigned, char, int) \
+ T(SHORT, signed, short, int) \
+ T(USHORT, unsigned, short, int) \
+ T(INT, signed, int, int) \
+ T(UINT, unsigned, int, int) \
+ T(LONG, signed, long, long) \
+ T(ULONG, unsigned, long, long) \
+ T(LLONG, signed, long long, long long) \
+ T(ULLONG, unsigned, long long, long long)
+
size_t getsize(enum pack_type t);
#endif // !PACK_COMMON_H