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

Function dfhack_random_drandom

library/LuaApi.cpp:1157–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155}
1156
1157static int dfhack_random_drandom(lua_State *L)
1158{
1159 lua_pushnumber(L, check_random_native(L, 1)->drandom());
1160 return 1;
1161}
1162static int dfhack_random_drandom0(lua_State *L)
1163{
1164 lua_pushnumber(L, check_random_native(L, 1)->drandom0());

Callers

nothing calls this directly

Calls 2

lua_pushnumberFunction · 0.85
check_random_nativeFunction · 0.85

Tested by

no test coverage detected