summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/types.h b/types.h
new file mode 100644
index 0000000..c77a1e1
--- /dev/null
+++ b/types.h
@@ -0,0 +1,19 @@
+#ifndef TYPES_H
+#define TYPES_H
+
+#include <stdint.h>
+
+typedef int8_t S8;
+typedef int16_t S16;
+typedef int32_t S32;
+typedef int64_t S64;
+
+typedef uint8_t U8;
+typedef uint16_t U16;
+typedef uint32_t U32;
+typedef uint64_t U64;
+
+#pragma section(".roglob", read)
+#define read_only __declspec(allocate(".roglob"))
+
+#endif // TYPES_H \ No newline at end of file