| 1242 | |
| 1243 | |
| 1244 | LUA_API void lua_len(lua_State *L, int idx) { |
| 1245 | StkId t; |
| 1246 | lua_lock(L); |
| 1247 | t = index2addr(L, idx); |
| 1248 | luaV_objlen(L, L->top, t); |
| 1249 | api_incr_top(L); |
| 1250 | lua_unlock(L); |
| 1251 | } |
| 1252 | |
| 1253 | |
| 1254 | LUA_API lua_Alloc lua_getallocf(lua_State *L, void **ud) { |
no test coverage detected