Merge remote-tracking branch 'origin/rr1-maint'
[lsnes.git] / src / lua / dummy.cpp
blob107c26740bba7554c6aafc7848e08bdef4405829
1 #include "lua/lua.hpp"
3 #ifdef NO_LUA
4 struct lua_State { int x; };
5 lua_function::lua_function(const std::string& name) throw(std::bad_alloc) {}
6 lua_function::~lua_function() throw() {}
7 void lua_callback_do_paint(struct lua_render_context* ctx, bool nonsynth) throw() {}
8 void lua_callback_do_video(struct lua_render_context* ctx) throw() {}
9 void lua_callback_do_input(controller_frame& data, bool subframe) throw() {}
10 void lua_callback_do_reset() throw() {}
11 void lua_callback_do_frame() throw() {}
12 void lua_callback_do_frame_emulated() throw() {}
13 void lua_callback_do_rewind() throw() {}
14 void lua_callback_do_idle() throw() {}
15 void lua_callback_do_timer() throw() {}
16 void lua_callback_do_readwrite() throw() {}
17 void lua_callback_startup() throw() {}
18 void lua_callback_pre_load(const std::string& name) throw() {}
19 void lua_callback_err_load(const std::string& name) throw() {}
20 void lua_callback_post_load(const std::string& name, bool was_state) throw() {}
21 void lua_callback_pre_save(const std::string& name, bool is_state) throw() {}
22 void lua_callback_err_save(const std::string& name) throw() {}
23 void lua_callback_post_save(const std::string& name, bool is_state) throw() {}
24 void lua_callback_snoop_input(uint32_t port, uint32_t controller, uint32_t index, short value) throw() {}
25 void lua_callback_quit() throw() {}
26 void lua_callback_keyhook(const std::string& key, const struct keygroup::parameters& p) throw() {}
27 void init_lua() throw() {}
28 void quit_lua() throw() {}
29 uint64_t lua_timed_hook(int timer) throw() { return 0x7EFFFFFFFFFFFFFFULL; }
31 bool lua_requests_repaint = false;
32 bool lua_requests_subframe_paint = false;
33 bool lua_supported = false;
34 uint64_t lua_idle_hook_time = 0x7EFFFFFFFFFFFFFFULL;
35 uint64_t lua_timer_hook_time = 0x7EFFFFFFFFFFFFFFULL;
37 #endif
39 char SYMBOL_3263572374236473826587375832743243264346;