[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: userdata environment
- From: Peter Cawley <lua@...>
- Date: Mon, 14 Sep 2009 09:57:44 +0100
On Mon, Sep 14, 2009 at 7:55 AM, Juris Kalnins <juris@mt.lv> wrote:
> That's harder. Currently it's a pointer to something that can be put in GC
> list, which excludes nil, bools, numbers and lightuserdata. Changing that
> would be a much bigger patch, and would increase size of userdata header.
You could use a C NULL pointer to represent Lua nil, but I'm not sure
how much that would increase the complexity (or not).