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

Method call

extlibs/sol3/include/sol/sol.hpp:22417–22423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22415
22416 template <typename... Ret, typename... Args>
22417 decltype(auto) call(Args&&... args) {
22418 lua_State* L = this->lua_state();
22419 push(L);
22420 int idx = lua_gettop(L);
22421 stack_aligned_function func(L, idx);
22422 return func.call<Ret...>(std::forward<Args>(args)...);
22423 }
22424
22425 template <typename... Args>
22426 decltype(auto) operator()(Args&&... args) {

Callers

nothing calls this directly

Calls 3

lua_stateMethod · 0.95
pushFunction · 0.85
lua_gettopFunction · 0.85

Tested by

no test coverage detected