MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_pushnumber

Function lua_pushnumber

other_src/lua/src/lapi.cpp:451–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449
450
451LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
452 lua_lock(L);
453 setnvalue(L->top, n);
454 api_incr_top(L);
455 lua_unlock(L);
456}
457
458
459LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {

Callers 15

os_clockFunction · 0.70
os_timeFunction · 0.70
os_difftimeFunction · 0.70
maxnFunction · 0.70
luaopen_lpegFunction · 0.70
read_numberFunction · 0.70
luaB_tonumberFunction · 0.70
luaB_collectgarbageFunction · 0.70
math_absFunction · 0.70
math_sinFunction · 0.70
math_sinhFunction · 0.70
math_cosFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected