MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_pushnumber

Function lua_pushnumber

third-party/lua-5.2.4/src/lapi.c:473–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471
472
473LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
474 lua_lock(L);
475 setnvalue(L->top, n);
476 luai_checknum(L, L->top,
477 luaG_runerror(L, "C API - attempt to push a signaling NaN"));
478 api_incr_top(L);
479 lua_unlock(L);
480}
481
482
483LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {

Callers 15

luaB_tonumberFunction · 0.70
luaB_collectgarbageFunction · 0.70
math_absFunction · 0.70
math_sinFunction · 0.70
math_sinhFunction · 0.70
math_cosFunction · 0.70
math_coshFunction · 0.70
math_tanFunction · 0.70
math_tanhFunction · 0.70
math_asinFunction · 0.70
math_acosFunction · 0.70
math_atanFunction · 0.70

Calls 1

luaG_runerrorFunction · 0.70

Tested by

no test coverage detected