Re: [ANN] Lua 5.2.0 (work2) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work2) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2010年1月14日 21:15:15 -0200
> Ok, so now we should think of lua_next in terms of "raw access to
> a table", and a combination of luaL_callmeta, lua_call and some stack
> fiddling as the way to traverse a table honoring its __pairs field, right?
Something like that, yes. Check the code in lbaselib.c for pairs.