MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_len

Function lua_len

extlibs/lua/src/lapi.c:1254–1261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1252
1253
1254LUA_API void lua_len (lua_State *L, int idx) {
1255 TValue *t;
1256 lua_lock(L);
1257 t = index2value(L, idx);
1258 luaV_objlen(L, L->top, t);
1259 api_incr_top(L);
1260 lua_unlock(L);
1261}
1262
1263
1264LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) {

Callers 1

lua_IntegerFunction · 0.70

Calls 2

index2valueFunction · 0.85
luaV_objlenFunction · 0.85

Tested by

no test coverage detected