[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua hooks
- From: Sam Roberts <vieuxtech@...>
- Date: Wed, 29 Feb 2012 11:53:09 -0800
On Wed, Feb 29, 2012 at 11:31 AM, Patrick Rapin <email@example.com> wrote:
> Like Roberto, I don't believe that bug report.
> I double checked, and Lua sources does not have any compilation
> directives based on "DEBUG", "_DEBUG" nor "NDEBUG".
> And "assert" C macro is only used when LUA_USE_APICHECK is defined
> (which is not by default).
Josh, have you wrapped some of your C calls in assert()?
assert(register_hooks(L)); /* register_hooks won't be called if
NDEBUG is defined */
It sounds like you aren't registering the hooks in release mode.