Lua: gui.synchronous_repaint()
[lsnes.git] / include / lua / internal.hpp
blob815c5e1fd1a77691a8b0311528a1421833eae954
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/luabase.hpp"
9 #include "library/lua-framebuffer.hpp"
11 extern lua_state lsnes_lua_state;
12 extern lua_function_group lua_func_bit;
13 extern lua_function_group lua_func_misc;
14 extern lua_function_group lua_func_callback;
15 extern lua_function_group lua_func_load;
17 void push_keygroup_parameters(lua_state& L, keyboard_key& p);
18 extern lua_render_context* lua_render_ctx;
19 extern controller_frame* lua_input_controllerdata;
20 extern bool* lua_kill_frame;
21 extern bool lua_booted_flag;
22 extern uint64_t lua_idle_hook_time;
23 extern uint64_t lua_timer_hook_time;
25 extern void* synchronous_paint_ctx;
26 void lua_renderq_run(lua_render_context* ctx, void* synchronous_paint_ctx);
28 #endif