MCPcopy Create free account
hub / github.com/cloudwu/skynet / lua_pushinteger

Function lua_pushinteger

3rd/lua/lapi.c:513–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511
512
513LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {
514 lua_lock(L);
515 setivalue(s2v(L->top.p), n);
516 api_incr_top(L);
517 lua_unlock(L);
518}
519
520
521/*

Callers 15

dump_mem_luaFunction · 0.85
runtimecapFunction · 0.85
pushcaptureFunction · 0.85
getcapturesFunction · 0.85
getfirstruleFunction · 0.85
collectrulesFunction · 0.85
mainFunction · 0.85
luaB_tonumberFunction · 0.85
luaB_rawlenFunction · 0.85
luaB_collectgarbageFunction · 0.85
ipairsauxFunction · 0.85
luaB_ipairsFunction · 0.85

Calls

no outgoing calls

Tested by 15

setnamevalFunction · 0.68
listcodeFunction · 0.68
listabslineinfoFunction · 0.68
mem_queryFunction · 0.68
hash_queryFunction · 0.68
stacklevelFunction · 0.68
table_queryFunction · 0.68
string_queryFunction · 0.68
trefFunction · 0.68
udatavalFunction · 0.68
doonnewstackFunction · 0.68
num2intFunction · 0.68