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

Function lua_len

third-party/lua-5.5.0/src/lapi.c:1309–1316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307
1308
1309LUA_API void lua_len (lua_State *L, int idx) {
1310 TValue *t;
1311 lua_lock(L);
1312 t = index2value(L, idx);
1313 luaV_objlen(L, L->top.p, t);
1314 api_incr_top(L);
1315 lua_unlock(L);
1316}
1317
1318
1319LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) {

Callers 1

lua_IntegerFunction · 0.70

Calls 2

index2valueFunction · 0.70
luaV_objlenFunction · 0.70

Tested by

no test coverage detected