| 1406 | |
| 1407 | |
| 1408 | LUA_API void lua_len (lua_State *L, int idx) { |
| 1409 | TValue *t; |
| 1410 | lua_lock(L); |
| 1411 | t = index2value(L, idx); |
| 1412 | luaV_objlen(L, L->top.p, t); |
| 1413 | api_incr_top(L); |
| 1414 | lua_unlock(L); |
| 1415 | } |
| 1416 | |
| 1417 | |
| 1418 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { |
no test coverage detected