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

Method invoke

extlibs/sol3/include/sol/sol.hpp:18243–18246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18241
18242 template <std::size_t... I, typename... Ret>
18243 auto invoke(types<Ret...>, std::index_sequence<I...>, std::ptrdiff_t n) const {
18244 luacall(n, lua_size<std::tuple<Ret...>>::value);
18245 return stack::pop<std::tuple<Ret...>>(lua_state());
18246 }
18247
18248 template <std::size_t I, typename Ret, meta::enable<meta::neg<std::is_void<Ret>>> = meta::enabler>
18249 Ret invoke(types<Ret>, std::index_sequence<I>, std::ptrdiff_t n) const {

Callers

nothing calls this directly

Calls 3

luacallFunction · 0.85
lua_gettopFunction · 0.85

Tested by

no test coverage detected