lua-users home
lua-l archive

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

On 8 Apr 2013, at 09:49, Dirk Laurie wrote:

> 1. There's a configuration variable you can set when building
>    Lua that throws an error when you are trying to use an item
>    over the stack top instead of just crashing.

From section 4 of the 5.2 reference manual:

As in most C libraries, the Lua API functions do not check their arguments for validity or consistency. However, you can change this behavior by compiling Lua with the macro LUA_USE_APICHECK defined.