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

Method luacall

include/sol/protected_function.hpp:314–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312
313 template <bool b>
314 call_status luacall(std::ptrdiff_t argcount, std::ptrdiff_t result_count_, detail::protected_handler<b, handler_t>& h) const {
315 return static_cast<call_status>(lua_pcall(lua_state(), static_cast<int>(argcount), static_cast<int>(result_count_), h.stack_index));
316 }
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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected