Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / src / types.hpp
blob: a5d45d8de886b48e016bd1fec4ea26edae435ff6 (plain) (blame)
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_HPP
#define TYPES_HPP

#include <cstdlib>
#include <stack>
#include <vector>

#include "value.hpp"

namespace SpasmImpl
{
typedef int8_t byte;
typedef size_t PC_t;
typedef Spasm::Value data_t;

class Spasm;
typedef void (Spasm::*Operation)();

template <typename T>
using SPVector = std::vector<T>;

typedef long long int reg_t;
}  // namespace SpasmImpl
#endif  // ----- #ifndef TYPES_HPP