[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: about consts [repost]
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 1 Jun 2000 10:31:25 -0300 (EST)
[listproc choked on this one. --lhf]
From: "Vincent Penquerc'h" <vincent@calcaphon.com>
To: "Lua-L@Tecgraf. Puc-Rio. Br" <lua-l@tecgraf.puc-rio.br>
Date: Thu, 1 Jun 2000 14:23:19 +0100
I feel I'm adventuring on a ground which can be prone to
hot opinions here, so, beware :)
The new alpha release of Lua now uses const keyword,
which is a good thing in itself, but this caused a big
headache when integrating it to my project, which does
not use it (I know the pros and cons of const, however :)).
So what I did is replacing all occurences of const in Lua
with LUA_CONST, which I defined away when compiling my
project.
Did someone else had to do it ? Is there any chance the
final release of Lua includes this ? If not, I'll keep
my define thing.
I didn't ask before as I feel I'd better use consts in
my project in the first place, but this is definitely
something I can't get used to...
--
Lyrian