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

Function member_default_to_string

extlibs/sol3/include/sol/sol.hpp:10545–10548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10543
10544 template <typename T>
10545 int member_default_to_string(std::true_type, lua_State* L) {
10546 decltype(auto) ts = stack::get<T>(L, 1).to_string();
10547 return stack::push(L, std::forward<decltype(ts)>(ts));
10548 }
10549
10550 template <typename T>
10551 int member_default_to_string(std::false_type, lua_State* L) {

Callers

nothing calls this directly

Calls 3

pushFunction · 0.85
luaL_errorFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected