[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua presentation at XGDC3.0
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 17 Sep 2001 11:15:00 -0300
>2) You say: "Lua tracks references and automagically garbage collects
>userdata objects". As I understand it, it does not collect any of the
>objects, just the lua variables holding the userdata (pointer). You have to
>tie in to the GC system and clean the objects up yourself.
Theres also lua_newuserdata which allocates a buffer and adds the pointer to
the list of Lua objects to be checked for GC.
--lhf