Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlutoLang/Pluto
/ lua_pushvalue
Function
lua_pushvalue
src/lapi.cpp:269–274 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
267
268
269
LUA_API void lua_pushvalue (lua_State *L, int idx) {
270
lua_lock(L);
271
setobj2s(L, L->top.p, index2value(L, idx));
272
api_incr_top(L);
273
lua_unlock(L);
274
}
275
276
277
#ifndef PLUTO_LUA_LINKABLE
Callers
15
http_request
Function · 0.85
luaB_cocreate
Function · 0.85
createmetatable
Function · 0.85
iter_codes
Function · 0.85
check_xml
Function · 0.85
cat_encode_aux
Function · 0.85
cat_encode
Function · 0.85
cat_decode
Function · 0.85
foreach
Function · 0.85
tmove
Function · 0.85
trivialcopy
Function · 0.85
auxclone
Function · 0.85
Calls
1
index2value
Function · 0.85
Tested by
no test coverage detected