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