Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bloomberg/comdb2
/ lua_pushvalue
Function
lua_pushvalue
lua/lapi.c:229–234 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
227
228
229
LUA_API void lua_pushvalue (lua_State *L, int idx) {
230
lua_lock(L);
231
setobj2s(L, L->top, index2adr(L, idx));
232
api_incr_top(L);
233
lua_unlock(L);
234
}
235
236
237
Callers
15
traceback
Function · 0.85
luaB_print
Function · 0.85
luaB_error
Function · 0.85
getfunc
Function · 0.85
luaB_getfenv
Function · 0.85
luaB_setfenv
Function · 0.85
luaB_pairs
Function · 0.85
luaB_ipairs
Function · 0.85
generic_reader
Function · 0.85
luaB_tostring
Function · 0.85
luaB_newproxy
Function · 0.85
luaB_cocreate
Function · 0.85
Calls
1
index2adr
Function · 0.85
Tested by
no test coverage detected