MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_pushnumber

Function lua_pushnumber

lib/lua/src/lapi.c:505–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503
504
505LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
506 lua_lock(L);
507 setfltvalue(s2v(L->top.p), n);
508 api_incr_top(L);
509 lua_unlock(L);
510}
511
512
513LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {

Callers 15

luaB_collectgarbageFunction · 0.85
math_absFunction · 0.85
math_sinFunction · 0.85
math_cosFunction · 0.85
math_tanFunction · 0.85
math_asinFunction · 0.85
math_acosFunction · 0.85
math_atanFunction · 0.85
pushnumintFunction · 0.85
math_fmodFunction · 0.85
math_modfFunction · 0.85
math_sqrtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected