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

Method call

Libs/sol/sol.hpp:18001–18009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17999 }
18000
18001 int call(lua_State* L) {
18002 int nr = call_detail::call_wrapped<T, true, false, -1>(L, invocation, detail::unwrap(detail::deref(member)));
18003 if (is_yielding) {
18004 return lua_yield(L, nr);
18005 }
18006 else {
18007 return nr;
18008 }
18009 }
18010
18011 int operator()(lua_State* L) {
18012 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