[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C API question
- From: Patrick Donnelly <batrick@...>
- Date: Mon, 10 Jan 2011 12:17:55 -0500
On Mon, Jan 10, 2011 at 12:15 PM, Patrick Donnelly <batrick@batbytes.com> wrote:
> Well, the inverse operation is not documented probably because it's
> easy to do yourself. Just have a light userdata pointing to the full
> userdata block address (lua_touserdata) as keys in the registry with
> the corresponding full userdata value.
I should say before someone jumps on me that you'll want a weak valued
table in the registry for this, not the registry itself, so you don't
interfere with GC.
--
- Patrick Donnelly
- References:
- C API question, joao lobato
- Re: C API question, GrayFace
- Re: C API question, steve donovan
- Re: C API question, joao lobato
- Re: C API question, Roberto Ierusalimschy
- Re: C API question, Mark Hamburg
- Re: C API question, Roberto Ierusalimschy
- Re: C API question, Jerome Vuarand
- Re: C API question, Roberto Ierusalimschy
- Re: C API question, Daniel Silverstone
- Re: C API question, Doug Currie
- Re: C API question, Patrick Donnelly