[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 4.0
- From: Luiz Henrique de Figueiredo <lhf>
- Date: Sat, 26 Aug 2000 16:10:11 -0300
>By the way, in lua 3.2 lua_dostring() takes a
>char * instead of a const char *. This necessitates some ugly casts in
>the client code. Will this be fixed in lua 4.0?
All strings in the C API have been changed to const char * in 4.0.
See 4.0 alpha for a try run.
I guess the casts you mention are only necessary in C++, but Lua has a C API.
I can't resist a quote from our quotes page:
"I use Lua because I like the language more than C++."
-- Paul Bleisch, in rec.games.programmer.
(I'm sorry, I don't mean to star a flame war.)