From ab3edaa58eed4ff73410954ca094531d49eb5844 Mon Sep 17 00:00:00 2001 From: talha Date: Thu, 15 Feb 2024 09:58:42 +0500 Subject: added personal libraries to git tracking --- types.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 types.h (limited to 'types.h') 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 + +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 -- cgit v1.2.3