summaryrefslogtreecommitdiff
path: root/types.h
blob: c77a1e1947e8faa905356dd98ed71b1fc7f92376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;

#pragma section(".roglob", read)
#define read_only __declspec(allocate(".roglob"))

#endif // TYPES_H