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