| 1125 | |
| 1126 | |
| 1127 | LUA_API void lua_len (lua_State *L, int idx) { |
| 1128 | StkId t; |
| 1129 | lua_lock(L); |
| 1130 | t = index2addr(L, idx); |
| 1131 | luaV_objlen(L, L->top, t); |
| 1132 | api_incr_top(L); |
| 1133 | lua_unlock(L); |
| 1134 | } |
| 1135 | |
| 1136 | |
| 1137 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { |
no test coverage detected