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

Method GetSeed

LuaSTGPlus/LuaWrapper.cpp:233–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 return 0;
232 }
233 static int GetSeed(lua_State* L)LNOEXCEPT
234 {
235 fcyRandomWELL512* p = static_cast<fcyRandomWELL512*>(luaL_checkudata(L, 1, TYPENAME_RANDGEN));
236 lua_pushnumber(L, (lua_Number)p->GetRandSeed());
237 return 1;
238 }
239 static int Int(lua_State* L)LNOEXCEPT
240 {
241 fcyRandomWELL512* p = static_cast<fcyRandomWELL512*>(luaL_checkudata(L, 1, TYPENAME_RANDGEN));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected