summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-03-13 23:18:29 +0500
committertalha <talha@talhaamir.xyz>2024-03-13 23:18:29 +0500
commit832bafccff577246dde2d11c23582f6a644c6c94 (patch)
tree2f46f6d2c0a3a3e0885494c985f151fbd93578a0 /types.h
parentab3edaa58eed4ff73410954ca094531d49eb5844 (diff)
Refactored Memory, Removed Strings
Diffstat (limited to 'types.h')
-rw-r--r--types.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/types.h b/types.h
index c77a1e1..726b2d2 100644
--- a/types.h
+++ b/types.h
@@ -3,17 +3,22 @@
#include <stdint.h>
-typedef int8_t S8;
-typedef int16_t S16;
-typedef int32_t S32;
-typedef int64_t S64;
+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;
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
+typedef uint64_t u64;
+
+#if FIGURE_IF_PLATFORM_SPECIFIC
+// @todo: Before including this, I need to make sure this is platform independant. If this is platform dependant,
+// I need to see if it is worth the hassle setting up something for each platform/compiler
#pragma section(".roglob", read)
#define read_only __declspec(allocate(".roglob"))
+#endif
-#endif // TYPES_H \ No newline at end of file
+#endif // TYPES_H