MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_pushnumber

Function lua_pushnumber

freebsd/contrib/openzfs/module/lua/lapi.c:470–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

luaB_tonumberFunction · 0.70
luaB_collectgarbageFunction · 0.70
luaL_checkversion_Function · 0.70
maxnFunction · 0.70
get_special_propFunction · 0.50
get_zap_propFunction · 0.50
zcp_get_userquota_propFunction · 0.50
zcp_get_written_propFunction · 0.50
zcp_synctask_wrapperFunction · 0.50
zcp_load_errno_globalsFunction · 0.50
zcp_clones_iterFunction · 0.50
zcp_clones_listFunction · 0.50

Calls 1

luaG_runerrorFunction · 0.70

Tested by

no test coverage detected