MCPcopy Create free account
hub / github.com/DFHack/dfhack / dfhack_random_drandom0

Function dfhack_random_drandom0

library/LuaApi.cpp:1162–1166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1160 return 1;
1161}
1162static int dfhack_random_drandom0(lua_State *L)
1163{
1164 lua_pushnumber(L, check_random_native(L, 1)->drandom0());
1165 return 1;
1166}
1167static int dfhack_random_drandom1(lua_State *L)
1168{
1169 lua_pushnumber(L, check_random_native(L, 1)->drandom1());

Callers

nothing calls this directly

Calls 2

lua_pushnumberFunction · 0.85
check_random_nativeFunction · 0.85

Tested by

no test coverage detected