MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / lua_pushinteger

Function lua_pushinteger

xrepo/packages/l/lua/port/lua/src/lapi.c:517–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515
516
517LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {
518 lua_lock(L);
519 setivalue(s2v(L->top), n);
520 api_incr_top(L);
521 lua_unlock(L);
522}
523
524
525/*

Callers 15

mainFunction · 0.70
luaB_tonumberFunction · 0.70
luaB_rawlenFunction · 0.70
luaB_collectgarbageFunction · 0.70
ipairsauxFunction · 0.70
luaB_ipairsFunction · 0.70
luaB_selectFunction · 0.70
math_absFunction · 0.70
math_tointFunction · 0.70
pushnumintFunction · 0.70
math_fmodFunction · 0.70
math_randomFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected