diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 7a107798..5bef7655 100644 --- a/single/sol/sol.hpp +++ b/single/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2017-09-14 12:45:28.604426 UTC -// This header was generated with sol v2.18.3 (revision ed341e0) +// Generated 2017-09-14 12:49:46.096117 UTC +// This header was generated with sol v2.18.3 (revision 1fc0027) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -18803,7 +18803,7 @@ namespace sol { #ifdef SOL_CHECK_ARGUMENTS auto pp = stack::push_pop(*this); constructor_handler handler{}; - stack::check(L, -1, handler); + stack::check(lua_state(), -1, handler); #endif // Safety } basic_thread(const stack_reference& r) @@ -18818,14 +18818,14 @@ namespace sol { #ifdef SOL_CHECK_ARGUMENTS auto pp = stack::push_pop(*this); constructor_handler handler{}; - stack::check(L, -1, handler); + stack::check(lua_state(), -1, handler); #endif // Safety } basic_thread(lua_State* L, int index = -1) : base_t(L, index) { #ifdef SOL_CHECK_ARGUMENTS constructor_handler handler{}; - stack::check(L, -1, handler); + stack::check(L, index, handler); #endif // Safety } basic_thread(lua_State* L, ref_index index) diff --git a/sol/thread.hpp b/sol/thread.hpp index f977c757..5c4da02e 100644 --- a/sol/thread.hpp +++ b/sol/thread.hpp @@ -105,7 +105,7 @@ namespace sol { #ifdef SOL_CHECK_ARGUMENTS auto pp = stack::push_pop(*this); constructor_handler handler{}; - stack::check(L, -1, handler); + stack::check(lua_state(), -1, handler); #endif // Safety } basic_thread(const stack_reference& r) @@ -120,14 +120,14 @@ namespace sol { #ifdef SOL_CHECK_ARGUMENTS auto pp = stack::push_pop(*this); constructor_handler handler{}; - stack::check(L, -1, handler); + stack::check(lua_state(), -1, handler); #endif // Safety } basic_thread(lua_State* L, int index = -1) : base_t(L, index) { #ifdef SOL_CHECK_ARGUMENTS constructor_handler handler{}; - stack::check(L, -1, handler); + stack::check(L, index, handler); #endif // Safety } basic_thread(lua_State* L, ref_index index)