Compact dummy lua code a bit
This commit is contained in:
parent
35979abcd3
commit
d9a5aefd5e
1 changed files with 17 additions and 69 deletions
|
@ -1,73 +1,21 @@
|
|||
#include "lua.hpp"
|
||||
|
||||
struct lua_State
|
||||
{
|
||||
int x;
|
||||
};
|
||||
|
||||
lua_function::lua_function(const std::string& name) throw(std::bad_alloc)
|
||||
{
|
||||
}
|
||||
|
||||
lua_function::~lua_function() throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_do_paint(struct lua_render_context* ctx, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_do_video(struct lua_render_context* ctx, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_do_input(controls_t& data, bool subframe, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_do_reset(window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_do_readwrite(window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_startup(window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_pre_load(const std::string& name, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_err_load(const std::string& name, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_post_load(const std::string& name, bool was_state, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_pre_save(const std::string& name, bool is_state, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_err_save(const std::string& name, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_post_save(const std::string& name, bool is_state, window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void lua_callback_quit(window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
void init_lua(window* win) throw()
|
||||
{
|
||||
}
|
||||
|
||||
struct lua_State { int x; };
|
||||
lua_function::lua_function(const std::string& name) throw(std::bad_alloc) {}
|
||||
lua_function::~lua_function() throw() {}
|
||||
void lua_callback_do_paint(struct lua_render_context* ctx, window* win) throw() {}
|
||||
void lua_callback_do_video(struct lua_render_context* ctx, window* win) throw() {}
|
||||
void lua_callback_do_input(controls_t& data, bool subframe, window* win) throw() {}
|
||||
void lua_callback_do_reset(window* win) throw() {}
|
||||
void lua_callback_do_readwrite(window* win) throw() {}
|
||||
void lua_callback_startup(window* win) throw() {}
|
||||
void lua_callback_pre_load(const std::string& name, window* win) throw() {}
|
||||
void lua_callback_err_load(const std::string& name, window* win) throw() {}
|
||||
void lua_callback_post_load(const std::string& name, bool was_state, window* win) throw() {}
|
||||
void lua_callback_pre_save(const std::string& name, bool is_state, window* win) throw() {}
|
||||
void lua_callback_err_save(const std::string& name, window* win) throw() {}
|
||||
void lua_callback_post_save(const std::string& name, bool is_state, window* win) throw() {}
|
||||
void lua_callback_quit(window* win) throw() {}
|
||||
void init_lua(window* win) throw() {}
|
||||
bool lua_requests_repaint = false;
|
||||
bool lua_requests_subframe_paint = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue