lua-users home
lua-l archive

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


On Sun, Dec 1, 2013 at 4:11 PM, Sir Pogsalot <sir.pogsalot@gmail.com> wrote:
> Currently you can only associate a lua table with a userdata through
> lua_setuservalue() -- I wish you could also associate userdata.
>
> Not sure if this isn't already possible with some other function

Psst.

It is.

You can store a userdata in a table. ;)

/s/ Adam