[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Strange crash when calling lua_call()
- From: Kevin Martin <kev82@...>
- Date: Mon, 8 Apr 2013 12:28:34 +0100
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.