[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Extending Lua for multiple light userdata types
- From: Rena <hyperhacker@...>
- Date: Wed, 14 Nov 2012 00:03:16 -0500
On 2012-11-13 9:48 PM, "Coda Highland" <chighland@gmail.com> wrote:
>
> On Tue, Nov 13, 2012 at 4:57 PM, Rena <hyperhacker@gmail.com> wrote:
> > Another advantage would be for
> > multiple libraries to use separate userdata types, each with their own
> > metatables.
>
> That's not needed for userdata, and lightuserdata can't have
> metatables in the first place.
>
Sure they can. They just all share one metatable, which is a bit unwieldy.
You might call Lua itself a solution without a problem; there were already plenty of languages out there. Sometimes it's not until you find a solution that you realize you had a problem at all.
- References:
- Extending Lua for multiple light userdata types, Rena
- Re: Extending Lua for multiple light userdata types, Dirk Laurie
- Re: Extending Lua for multiple light userdata types, Rena
- Re: Extending Lua for multiple light userdata types, Dirk Laurie
- Re: Extending Lua for multiple light userdata types, Rena
- Re: Extending Lua for multiple light userdata types, Coda Highland
- Re: Extending Lua for multiple light userdata types, liam mail
- Re: Extending Lua for multiple light userdata types, Roberto Ierusalimschy
- Re: Extending Lua for multiple light userdata types, Rena
- Re: Extending Lua for multiple light userdata types, Coda Highland