lua-users home
lua-l archive

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




On Sat, Nov 12, 2011 at 10:52 AM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> 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