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

Function c_call

extlibs/sol3/include/sol/sol.hpp:16961–16971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16959
16960 template <typename F, F fx>
16961 inline int c_call(lua_State* L) {
16962 typedef meta::unqualified_t<F> Fu;
16963 typedef std::integral_constant<bool,
16964 std::is_same<Fu, lua_CFunction>::value
16965#if defined(SOL_NOEXCEPT_FUNCTION_TYPE) && SOL_NOEXCEPT_FUNCTION_TYPE
16966 || std::is_same<Fu, detail::lua_CFunction_noexcept>::value
16967#endif
16968 >
16969 is_raw;
16970 return function_detail::c_call_raw<F, fx>(is_raw(), L);
16971 }
16972
16973 template <typename F, F f>
16974 struct wrap {

Callers

nothing calls this directly

Calls 2

callFunction · 0.85
lua_gettopFunction · 0.85

Tested by

no test coverage detected