From 6e19bb560d474736d45f5be011ff0830c7019991 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Mon, 5 Nov 2018 23:34:00 +0200 Subject: Squashed 'spasm/' content from commit 08ee95d git-subtree-dir: spasm git-subtree-split: 08ee95d89054ba0d33697d613799a0a013aedf89 --- src/types.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/types.hpp (limited to 'src/types.hpp') 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 +#include + +namespace SpasmImpl +{ +typedef unsigned char byte; +typedef size_t PC_t; +typedef int data_t; +typedef std::stack Rstack_t; + +class Spasm; +typedef void (Spasm::*Operation)(); +} // namespace SpasmImpl +#endif // ----- #ifndef TYPES_HPP -- cgit v1.3.1-23-gd82d