MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_len

Function lua_len

lib/lua/src/lapi.c:1299–1306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1297
1298
1299LUA_API void lua_len (lua_State *L, int idx) {
1300 TValue *t;
1301 lua_lock(L);
1302 t = index2value(L, idx);
1303 luaV_objlen(L, L->top.p, t);
1304 api_incr_top(L);
1305 lua_unlock(L);
1306}
1307
1308
1309LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) {

Callers 1

lua_IntegerFunction · 0.85

Calls 2

index2valueFunction · 0.85
luaV_objlenFunction · 0.85

Tested by

no test coverage detected