[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_ref usage
- From: "Patrick O'Leary Jr." <polearyjr@...>
- Date: Wed, 15 Oct 2008 22:40:24 -0700
Patrick O'Leary Jr. wrote:
lua_tostring can throw off lua_next. You can use lua_pushvalue to
create a copy of the item and then use lua_tostring on that copy (then
pop the copy) and lua_next will still be good-to-go.
To be more clear re lua_tostring -> http://pgl.yoyo.org/luai/i/lua_next