MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / operator()

Method operator()

extlibs/sol3/include/sol/sol.hpp:17258–17266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17256 }
17257
17258 int operator()(lua_State* L) {
17259 if (!no_trampoline) {
17260 auto f = [&](lua_State*) -> int { return this->call(L); };
17261 return detail::trampoline(L, f);
17262 }
17263 else {
17264 return call(L);
17265 }
17266 }
17267 };
17268
17269 template <typename T, typename Function, bool is_yielding>

Callers

nothing calls this directly

Calls 3

callMethod · 0.95
trampolineFunction · 0.85
callFunction · 0.85

Tested by

no test coverage detected