diff options
author | talha <talha@talhaamir.xyz> | 2024-03-13 23:18:29 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-03-13 23:18:29 +0500 |
commit | 832bafccff577246dde2d11c23582f6a644c6c94 (patch) | |
tree | 2f46f6d2c0a3a3e0885494c985f151fbd93578a0 /types.h | |
parent | ab3edaa58eed4ff73410954ca094531d49eb5844 (diff) |
Refactored Memory, Removed Strings
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -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 |