MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_pushnumber

Function lua_pushnumber

3rd/lua-5.4.3/src/lapi.c:499–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497
498
499LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
500 lua_lock(L);
501 setfltvalue(s2v(L->top), n);
502 api_incr_top(L);
503 lua_unlock(L);
504}
505
506
507LUA_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