[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Next Version of Lua?
- From: Asko Kauppi <askok@...>
- Date: Wed, 10 Jun 2009 21:11:05 +0300
The whole idea is longer than I feel like repeating here and now. It
does allow operations like you mention by use of "non-family" enums.
It has been discussed on the list earlier, and concensus was that
there's no need. C API enums can be done with Lua strings instead. I
still hold my position on this, though (and can repeat the discussions
if someone sees necessary).
-asko
Enrico Colombini kirjoitti 10.6.2009 kello 20:59:
Asko Kauppi wrote:
Personally, I am of the opinion that bitops are for enums and not
for numbers.
Apart from many data processing applications... as an example,
consider the case where I open a bitmap file and want to apply some
algorithm to 4-bit pixels.
Enrico