Fix number of compile errors and warnings with GCC 14
[lsnes.git] / include / library / memorywatch-list.hpp
blobca6a3b3fc1fedfe3fb68a29334d754beb503ca3a
1 #ifndef _library__memorywatch_list__hpp__included__
2 #define _library__memorywatch_list__hpp__included__
4 #include "memorywatch.hpp"
5 #include "mathexpr.hpp"
6 #include <string>
7 #include <functional>
9 namespace memorywatch
11 struct output_list : public item_printer
13 output_list();
14 ~output_list();
15 void set_output(std::function<void(const std::string& n, const std::string& v)> _fn);
16 void show(const std::string& iname, const std::string& val);
17 void reset();
18 bool cond_enable;
19 GC::pointer<mathexpr::mathexpr> enabled;
20 //State variables.
21 std::function<void(const std::string& n, const std::string& v)> fn;
25 #endif