[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_ref usage
- From: Matthew Metnetsky <met@...>
- Date: Thu, 16 Oct 2008 10:28:36 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patrick O'Leary Jr. wrote:
> Patrick O'Leary Jr. wrote:
>> 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
> Re-reading your post - which I should have done a bit closer the first
> time - your usage of lua_tostring is only for LUA_TSTRING's so it
> shouldn't upset lua_next. Please disregard my spamming!
Patrick,
No worries, thanks for the assistance anyways.
~ Matthew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkj3T5MACgkQLrcoBjlTBf1+8gCfbh3PwFNqs3QCkXw56BPF/CQi
4CIAoIfo02/dvRH8k1FIUJMAjXL2YiW6
=OmuJ
-----END PGP SIGNATURE-----