Formatting and a few new constants.

This commit is contained in:
ThePhD 2016-02-27 02:49:40 -05:00
parent 95c63565a8
commit c07bbd248c
6 changed files with 26 additions and 26 deletions

View File

@ -33,11 +33,11 @@ private:
call_status stats = call_status::yielded;
void luacall(std::ptrdiff_t argcount, std::ptrdiff_t) {
#if SOL_LUA_VERSION < 503
#if SOL_LUA_VERSION < 502
stats = static_cast<call_status>(lua_resume(lua_state(), static_cast<int>(argcount)));
#else
stats = static_cast<call_status>(lua_resume(lua_state(), nullptr, static_cast<int>(argcount)));
#endif // Lua 5.3
#endif // Lua 5.1 compat
}
template<std::size_t... I, typename... Ret>