[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata
- From: Coda Highland <chighland@...>
- Date: Sun, 1 Dec 2013 19:12:29 -0800
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