Refactor Lua support
[lsnes.git] / include / lua / internal.hpp
blob2a9507b05e85695bfc5b2195c0fb1e1290cf0ff6
1 #ifndef _lua_int__hpp__included__
2 #define _lua_int__hpp__included__
4 #include "lua/lua.hpp"
5 #include <cstdio>
6 #include <cstdlib>
7 #include <iostream>
8 #include "library/lua.hpp"
10 extern lua_state LS;
12 void push_keygroup_parameters(lua_state& L, const struct keygroup::parameters& p);
13 extern lua_render_context* lua_render_ctx;
14 extern controller_frame* lua_input_controllerdata;
15 extern bool lua_booted_flag;
16 extern uint64_t lua_idle_hook_time;
17 extern uint64_t lua_timer_hook_time;
19 #endif