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

Method call

extlibs/sol3/include/sol/sol.hpp:18361–18367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18359
18360 template <typename... Ret, typename... Args>
18361 decltype(auto) call(Args&&... args) const {
18362 if (!aligned) {
18363 base_t::push();
18364 }
18365 int pushcount = stack::multi_push_reference(lua_state(), std::forward<Args>(args)...);
18366 return invoke(types<Ret...>(), std::make_index_sequence<sizeof...(Ret)>(), static_cast<std::ptrdiff_t>(pushcount));
18367 }
18368 };
18369} // namespace sol
18370

Callers

nothing calls this directly

Calls 3

pushFunction · 0.85
multi_push_referenceFunction · 0.85
invokeFunction · 0.85

Tested by

no test coverage detected