[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Memory allocation for userdata
- From: liam mail <liam.list@...>
- Date: Fri, 16 Dec 2011 11:44:27 +0100
On Friday, 16 December 2011, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>
> In a Lua binding there is the added possibility of allocating the
> required memory via lua_newuserdata.
>
> What do you think?
>
> Dirk
>
If you can use Lua to look after the memory for you and you do not have a good reason not to use it, then this is what I would maybe use.
Liam