lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

OK then. How about luaL_pairs()?

On 15/1/2010 9:50 AM, Luiz Henrique de Figueiredo wrote:
I think we should have lua_pairs() to match lua_next()

__pairs is not a core metamethod, just like __tostring: it is provided
by the base library. So, it cannot influence the C API.