lua-users home
lua-l archive

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

>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

(I'm sorry, I don't mean to star a flame war.)