[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: userdata environment
- From: Mark Hamburg <mark@...>
- Date: Mon, 14 Sep 2009 22:35:21 -0700
On Sep 13, 2009, at 11:55 PM, Juris Kalnins wrote:
On Sat, 12 Sep 2009 21:30:30 +0300, Mark Hamburg <email@example.com>
Personally, on Lightroom, I wished for the ability to store nil in
the userdata environment table.
That's harder. Currently it's a pointer to something that can be put
list, which excludes nil, bools, numbers and lightuserdata. Changing
would be a much bigger patch, and would increase size of userdata
Nil doesn't require an expansion of the data structures since a NULL
pointer will do. It does require an expansion in the C code to deal
with that case but possibly not much more than the expansion needed to
handle types other than a table.