Fix lua_callback_do_unsafe_rewind in no-Lua case

Dummy no-lua version of lua_callback_do_unsafe_rewind() had wrong
arguments in definition, causing a link error.

Noticed by ShinyDoofy.
This commit is contained in:
Ilari Liusvaara 2012-05-20 16:11:31 +03:00
parent 6f796f9601
commit e5aa6e2b20

View file

@ -27,7 +27,9 @@ void lua_callback_keyhook(const std::string& key, const struct keygroup::paramet
void init_lua() throw() {}
void quit_lua() throw() {}
uint64_t lua_timed_hook(int timer) throw() { return 0x7EFFFFFFFFFFFFFFULL; }
void lua_callback_do_unsafe_rewind(const std::vector<char>& save, movie& mov, void* u) {}
void lua_callback_do_unsafe_rewind(const std::vector<char>& save, uint64_t secs, uint64_t ssecs, movie& mov, void* u)
{
}
bool lua_requests_repaint = false;