[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Let's not break existing scripts.
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 12 Nov 2011 14:52:17 -0200
> Reasonable minds can differ whether that's a Lua feature or a Lua bug.
It's certainly *not* a bug because the manual explicitly says:
"As in most C libraries, the Lua API functions do not check their
arguments for validity or consistency."
though it does go on to say
"However, you can change this behavior by compiling Lua with a proper
definition for the macro luai_apicheck, in file luaconf.h."
http://www.lua.org/manual/5.1/manual.html#3