blob: 726b2d273d31a3c907da6f466ee4328f8f4ee65f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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;
#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
|