Merge branch 'develop' into sol3

# Conflicts:
#	single/include/sol/forward.hpp
#	single/include/sol/sol.hpp
#	single/sol.hpp
#	single/sol/sol.hpp
#	single/sol/sol_forward.hpp
#	single/sol_forward.hpp
This commit is contained in:
ThePhD 2019-01-26 03:29:42 -05:00
commit ad494bd063
No known key found for this signature in database
GPG Key ID: 1509DB1C0F702BFA

View File

@ -736,6 +736,14 @@ namespace sol {
}
};
template <typename T, typename Y, bool is_index, bool is_variable, bool checked, int boost, bool clean_stack, typename C>
struct lua_call_wrapper<T, yielding_t<Y>, is_index, is_variable, checked, boost, clean_stack, C> {
template <typename F>
static int call(lua_State* L, F&& f) {
return lua_call_wrapper<T, meta::unqualified_t<Y>, is_index, is_variable, checked, boost, clean_stack>{}.call(L, f.func);
}
};
template <typename T, typename Sig, typename P, bool is_index, bool is_variable, bool checked, int boost, bool clean_stack, typename C>
struct lua_call_wrapper<T, function_arguments<Sig, P>, is_index, is_variable, checked, boost, clean_stack, C> {
template <typename F>