From 832bafccff577246dde2d11c23582f6a644c6c94 Mon Sep 17 00:00:00 2001 From: talha Date: Wed, 13 Mar 2024 23:18:29 +0500 Subject: Refactored Memory, Removed Strings --- types.h | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'types.h') diff --git a/types.h b/types.h index c77a1e1..726b2d2 100644 --- a/types.h +++ b/types.h @@ -3,17 +3,22 @@ #include -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 -- cgit v1.2.3