lua-users home
lua-l archive

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




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