Website Summary Files Commits Branches @commit @diff @stats
path: root / src / types.hpp
blob: 0d86cab8aa772956fbc64357a7bf33e882bbac65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef TYPES_HPP
#define TYPES_HPP

#include <cstdlib>
#include <stack>

namespace SpasmImpl
{
typedef unsigned char byte;
typedef size_t PC_t;
typedef int data_t;
typedef std::stack<PC_t> Rstack_t;

class Spasm;
typedef void (Spasm::*Operation)();
}  // namespace SpasmImpl
#endif  // ----- #ifndef TYPES_HPP