|
So how do we iterate in C and have metamethods respected? 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.