| 1307 | |
| 1308 | |
| 1309 | LUA_API void lua_len (lua_State *L, int idx) { |
| 1310 | TValue *t; |
| 1311 | lua_lock(L); |
| 1312 | t = index2value(L, idx); |
| 1313 | luaV_objlen(L, L->top.p, t); |
| 1314 | api_incr_top(L); |
| 1315 | lua_unlock(L); |
| 1316 | } |
| 1317 | |
| 1318 | |
| 1319 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { |
no test coverage detected