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

Method Seed

LuaSTGPlus/LuaWrapper.cpp:227–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225 struct WrapperImplement
226 {
227 static int Seed(lua_State* L)LNOEXCEPT
228 {
229 fcyRandomWELL512* p = static_cast<fcyRandomWELL512*>(luaL_checkudata(L, 1, TYPENAME_RANDGEN));
230 p->SetSeed((fuInt)luaL_checknumber(L, 2));
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));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected