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

Function lua_pushnumber

depends/lua/src/lapi.c:458–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456
457
458LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
459 lua_lock(L);
460 setfltvalue(L->top, n);
461 api_incr_top(L);
462 lua_unlock(L);
463}
464
465
466LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {

Callers 15

lua_readMethod · 0.85
dfhack_random_drandomFunction · 0.85
dfhack_random_drandom0Function · 0.85
dfhack_random_drandom1Function · 0.85
dfhack_random_unitrandomFunction · 0.85
dfhack_random_unitvectorFunction · 0.85
eval_perlin_1Function · 0.85
eval_perlin_2Function · 0.85
eval_perlin_3Function · 0.85
PushFunction · 0.85
luaB_collectgarbageFunction · 0.85
math_absFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected