diff options
1 files changed, 17 insertions, 0 deletions
| -rw-r--r-- | src/types.hpp | 17 |
diff --git a/src/types.hpp b/src/types.hpp new file mode 100644 index 0000000..0d86cab --- /dev/null +++ b/src/types.hpp @@ -0,0 +1,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 |
