MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_pushnumber

Function lua_pushnumber

deps/lua/src/lapi.c:429–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428
429LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
430 lua_lock(L);
431 setnvalue(L->top, n);
432 api_incr_top(L);
433 lua_unlock(L);
434}
435
436
437LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {

Callers 15

luaReplyToRedisReplyFunction · 0.85
scriptingInitFunction · 0.85
redis_math_randomFunction · 0.85
luaB_tonumberFunction · 0.85
luaB_collectgarbageFunction · 0.85
math_absFunction · 0.85
math_sinFunction · 0.85
math_sinhFunction · 0.85
math_cosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected