MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / check

Function check

extlibs/sol3/include/sol/sol.hpp:10219–10230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10217
10218 template <typename T, typename Handler>
10219 bool check(lua_State* L, int index, Handler&& handler, record& tracking) {
10220 if constexpr (meta::meta_detail::is_adl_sol_lua_check_v<T>) {
10221 return sol_lua_check(types<T>(), L, index, std::forward<Handler>(handler), tracking);
10222 }
10223 else {
10224 using Tu = meta::unqualified_t<T>;
10225 qualified_checker<T, lua_type_of_v<Tu>> c;
10226 // VC++ has a bad warning here: shut it up
10227 (void)c;
10228 return c.check(L, index, std::forward<Handler>(handler), tracking);
10229 }
10230 }
10231
10232 template <typename T, typename Handler>
10233 bool check(lua_State* L, int index, Handler&& handler) {

Callers 2

checkMethod · 0.70
checkMethod · 0.70

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected