| 1297 | |
| 1298 | |
| 1299 | LUA_API void lua_len (lua_State *L, int idx) { |
| 1300 | TValue *t; |
| 1301 | lua_lock(L); |
| 1302 | t = index2value(L, idx); |
| 1303 | luaV_objlen(L, L->top.p, t); |
| 1304 | api_incr_top(L); |
| 1305 | lua_unlock(L); |
| 1306 | } |
| 1307 | |
| 1308 | |
| 1309 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { |
no test coverage detected