lua-users home
lua-l archive

Re: C API question

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 07.01.2011 21:36, Mark Hamburg wrote:
If your C code needs to reference a Lua value, I tend to recommend using light userdata keys in the registry bearing in mind that this creates anchors for the GC.
Where can I read more about these GC anchors?
And this doesn't solve the problem for modules and other sorts of libraries.
--
Best regards,
Sergey Rozhenko mailto:sergroj@mail.ru

AltStyle によって変換されたページ (->オリジナル) /