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

Method invoke

include/sol/protected_function.hpp:319–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317
318 template <std::size_t... I, bool b, typename... Ret>
319 auto invoke(types<Ret...>, std::index_sequence<I...>, std::ptrdiff_t n, detail::protected_handler<b, handler_t>& h) const {
320 luacall(n, sizeof...(Ret), h);
321 return stack::pop<std::tuple<Ret...>>(lua_state());
322 }
323
324 template <std::size_t I, bool b, typename Ret>
325 Ret invoke(types<Ret>, std::index_sequence<I>, std::ptrdiff_t n, detail::protected_handler<b, handler_t>& h) const {

Callers

nothing calls this directly

Calls 4

whatMethod · 0.80
validMethod · 0.45

Tested by

no test coverage detected