| 1145 | |
| 1146 | |
| 1147 | LUA_API void lua_len (lua_State *L, int idx) { |
| 1148 | StkId t; |
| 1149 | lua_lock(L); |
| 1150 | t = index2addr(L, idx); |
| 1151 | luaV_objlen(L, L->top, t); |
| 1152 | api_incr_top(L); |
| 1153 | lua_unlock(L); |
| 1154 | } |
| 1155 | |
| 1156 | |
| 1157 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { |
no test coverage detected