[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: #if !defined(luai_apicheck) missing in 5.3.0
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 6 Mar 2015 14:08:02 -0300
> On Mar 4, 2015, at 5:02 PM, Dave Hayden <dave@panic.com> wrote:
> >
> > The luai_apicheck define (at llimits.h:91-96 in 5.3.0) used to have an #if !defined check around it, seems to be missing in 5.3.0. Hey, I was using that! :)
>
> Uh oh. I just noticed the lua_State* L argument was removed from all of the api_check calls. Is there some new way of getting a stack trace trace when lua fails an assert?
>
> Sorry if I'm just catching up on old news. I haven't been following the mailing list terribly closely, but I haven't been able to find anything in the archives.
Really old news; it was removed before 5.3 alpha. We did not know anyone
was using it, but we can add it back. (Meanwhile, you can safely use 'L'
directly in your macro.)
-- Roberto