| 1154 | |
| 1155 | |
| 1156 | LUA_API void lua_len (lua_State *L, int idx) { |
| 1157 | StkId t; |
| 1158 | lua_lock(L); |
| 1159 | t = index2addr(L, idx); |
| 1160 | luaV_objlen(L, L->top, t); |
| 1161 | api_incr_top(L); |
| 1162 | lua_unlock(L); |
| 1163 | } |
| 1164 | |
| 1165 | |
| 1166 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { |
no test coverage detected