MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / Meta_ToString

Method Meta_ToString

LuaSTGPlus/LuaWrapper.cpp:174–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 return 1;
173 }
174 static int Meta_ToString(lua_State* L)LNOEXCEPT
175 {
176 fcyColor* p = static_cast<fcyColor*>(luaL_checkudata(L, 1, TYPENAME_COLOR));
177 lua_pushfstring(L, "lstg.Color(%d,%d,%d,%d)", p->a, p->r, p->g, p->b);
178 return 1;
179 }
180 };
181
182 luaL_Reg tMethods[] =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected