MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_pushnumber

Function lua_pushnumber

extlibs/lua/src/lapi.c:476–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474
475
476LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
477 lua_lock(L);
478 setfltvalue(s2v(L->top), n);
479 api_incr_top(L);
480 lua_unlock(L);
481}
482
483
484LUA_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