MCPcopy Create free account
hub / github.com/Segs/Segs / trampoline

Function trampoline

3rd_party/lua_sol2/include/sol.hpp:5884–5886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5882
5883 template <typename Fx, typename... Args>
5884 int trampoline(lua_State* L, Fx&& f, Args&&... args) noexcept {
5885 return f(L, std::forward<Args>(args)...);
5886 }
5887
5888 inline int c_trampoline(lua_State* L, lua_CFunction f) noexcept {
5889 return trampoline(L, f);

Callers 7

c_trampolineFunction · 0.85
c_call_rawFunction · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
simple_index_callFunction · 0.85
simple_new_index_callFunction · 0.85

Calls 4

call_exception_handlerFunction · 0.85
c_strMethod · 0.80
sizeMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected