MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_len

Function lua_len

freebsd/contrib/openzfs/module/lua/lapi.c:1144–1151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

luaL_lenFunction · 0.85

Calls 2

index2addrFunction · 0.85
luaV_objlenFunction · 0.85

Tested by

no test coverage detected