Re: C API question
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: C API question
- From: Doug Currie <doug.currie@...>
- Date: 2011年1月10日 13:42:37 -0500
On Jan 10, 2011, at 1:27 PM, Roberto Ierusalimschy wrote:
>
> That would create a whole new world of possibilities for dangling
> pointers. Lua has a strong principle of avoiding references that
> are not accounted for by the garbage collector.
Yes. Well, I guess the registry can still be avoided by keeping a weak-valued table in a C-library upvalue to map the lightuservalues (as Patrick suggested) to the fulluservalues. Thanks to both of you.
e
- References:
- 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
- Re: C API question, Doug Currie
- Re: C API question, Roberto Ierusalimschy