MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_pushinteger

Function lua_pushinteger

deps/lua/src/lapi.c:437–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435
436
437LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {
438 lua_lock(L);
439 setnvalue(L->top, cast_num(n));
440 api_incr_top(L);
441 lua_unlock(L);
442}
443
444
445LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) {

Callers 15

tracebackFunction · 0.85
luaB_gcinfoFunction · 0.85
ipairsauxFunction · 0.85
luaB_ipairsFunction · 0.85
luaB_selectFunction · 0.85
math_frexpFunction · 0.85
str_lenFunction · 0.85
str_byteFunction · 0.85
push_onecaptureFunction · 0.85
str_find_auxFunction · 0.85
gmatch_auxFunction · 0.85
gmatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected