[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: setmetatable vs debug.setmetatable?
- From: "Duncan Cross" <duncan.cross@...>
- Date: Fri, 3 Aug 2007 13:32:11 +0100
True, I forgot about that. Is there any chance you could register a C
function that uses the API to give you a "dummy" full userdata (one
byte long or something) instead of a table, and set the metatable on
On 8/3/07, PA <firstname.lastname@example.org> wrote:
> On Aug 03, 2007, at 14:24, Duncan Cross wrote:
> > Wrap the function as the __call metamethod in a table?
> Cunning... :P
> But then... one cannot (re)define the __len metamethod :(