[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Feature request: per-value uservalue
- From: Coda Highland <chighland@...>
- Date: Fri, 24 Mar 2017 07:34:08 -0700
On Thu, Mar 23, 2017 at 9:54 PM, Tim Hill <email@example.com> wrote:
>> On Mar 23, 2017, at 8:26 AM, 彭 书呆 <firstname.lastname@example.org> wrote:
>> ... so I have to use full userdata, then store the pointer itself into the full userdata.
> Isn’t that really the point here? For some reason you don’t want to create a full userdata to wrap a void* to some externally managed C struct? Why not?
The "why not" was already explained: that means that you can have two
Lua objects pointing to the same C object, but the Lua objects compare