MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_len

Function lua_len

third-party/lua-5.2.4/src/lapi.c:1147–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1145
1146
1147LUA_API void lua_len (lua_State *L, int idx) {
1148 StkId t;
1149 lua_lock(L);
1150 t = index2addr(L, idx);
1151 luaV_objlen(L, L->top, t);
1152 api_incr_top(L);
1153 lua_unlock(L);
1154}
1155
1156
1157LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) {

Callers 1

luaL_lenFunction · 0.70

Calls 2

index2addrFunction · 0.70
luaV_objlenFunction · 0.70

Tested by

no test coverage detected