lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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).