MCPcopy Create free account
hub / github.com/ThePhD/sol2 / check_get_arg

Function check_get_arg

include/sol/stack_core.hpp:1283–1288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1281 namespace stack_detail {
1282 template <typename T, typename Handler>
1283 decltype(auto) check_get_arg(lua_State* L_, int index_, Handler&& handler_, record& tracking_) {
1284 if constexpr (meta::meta_detail::is_adl_sol_lua_check_access_v<T>) {
1285 sol_lua_check_access(types<meta::unqualified_t<T>>(), L_, index_, tracking_);
1286 }
1287 return check_get<T>(L_, index_, std::forward<Handler>(handler_), tracking_);
1288 }
1289
1290 template <typename T>
1291 decltype(auto) unchecked_get_arg(lua_State* L_, int index_, record& tracking_) {

Callers

nothing calls this directly

Calls 1

sol_lua_check_accessFunction · 0.85

Tested by

no test coverage detected