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

Method call

extlibs/sol3/include/sol/sol.hpp:17282–17290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17280 }
17281
17282 int call(lua_State* L) {
17283 int nr = call_detail::call_wrapped<T, true, false, -1>(L, invocation, detail::unwrap(detail::deref(member)));
17284 if (is_yielding) {
17285 return lua_yield(L, nr);
17286 }
17287 else {
17288 return nr;
17289 }
17290 }
17291
17292 int operator()(lua_State* L) {
17293 auto f = [&](lua_State*) -> int { return this->call(L); };

Callers 1

operator()Method · 0.95

Calls 2

unwrapFunction · 0.85
derefFunction · 0.85

Tested by

no test coverage detected