summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-02-15 09:58:42 +0500
committertalha <talha@talhaamir.xyz>2024-02-15 09:58:42 +0500
commitab3edaa58eed4ff73410954ca094531d49eb5844 (patch)
tree4dd8dc896baa5737153ed0d48f27881171fd3287 /types.h
added personal libraries to git tracking
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