aboutsummaryrefslogtreecommitdiffstats
path: root/src/deftypes.h
diff options
context:
space:
mode:
authorM.Gergő2020-05-06 23:03:17 +0200
committerM.Gergő2020-05-06 23:03:17 +0200
commit3cff0f1ab97bf61a53cc9c74b5e259947b3e2861 (patch)
tree0ec96a912c896fa78c25fb996d762144c80a1561 /src/deftypes.h
downloadlightconfini-3cff0f1ab97bf61a53cc9c74b5e259947b3e2861.tar.gz
lightconfini-3cff0f1ab97bf61a53cc9c74b5e259947b3e2861.zip
LightConfINI rewrite & rework
Diffstat (limited to 'src/deftypes.h')
-rw-r--r--src/deftypes.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/deftypes.h b/src/deftypes.h
new file mode 100644
index 0000000..dbfd1e0
--- /dev/null
+++ b/src/deftypes.h
@@ -0,0 +1,28 @@
+
+#ifndef _DEFTYPESH_INCLUDED
+#define _DEFTYPESH_INCLUDED
+
+// Unsigned types
+#define uint8 __uint8_t
+#define uint16 __uint16_t
+#define uint32 __uint32_t
+#define uint64 __uint64_t
+#define uint128 __uint128_t
+
+// Signed types (default)
+#define int8 __int8_t
+#define int16 __int16_t
+#define int32 __int32_t
+#define int64 __int64_t
+#define int128 __int128_t
+
+
+#define uchar __u_char
+
+#define ulong __u_long
+
+
+#define TRUE 1
+#define FALSE 0
+
+#endif \ No newline at end of file