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

Method ARGB

LuaSTGPlus/LuaWrapper.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 struct WrapperImplement
95 {
96 static int ARGB(lua_State* L)LNOEXCEPT
97 {
98 fcyColor* p = static_cast<fcyColor*>(luaL_checkudata(L, 1, TYPENAME_COLOR));
99 lua_pushnumber(L, p->a);
100 lua_pushnumber(L, p->r);
101 lua_pushnumber(L, p->g);
102 lua_pushnumber(L, p->b);
103 return 4;
104 }
105 static int Meta_Eq(lua_State* L)LNOEXCEPT
106 {
107 fcyColor* pA = static_cast<fcyColor*>(luaL_checkudata(L, 1, TYPENAME_COLOR));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected