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

Function oss_default_to_string

extlibs/sol3/include/sol/sol.hpp:10571–10575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10569
10570 template <typename T>
10571 int oss_default_to_string(std::true_type, lua_State* L) {
10572 std::ostringstream oss;
10573 oss << stack::unqualified_get<T>(L, 1);
10574 return stack::push(L, oss.str());
10575 }
10576
10577 template <typename T>
10578 int oss_default_to_string(std::false_type, lua_State* L) {

Callers

nothing calls this directly

Calls 2

pushFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected