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