[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_assert definition
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 12 Nov 2015 08:45:23 -0200
> I take it that the intention is that if ltests.h is included the
> lua_assert() is defined as assert() - but otherwise it is defined as
> ((void)0)?
Yes.
> Also I am guessing that the definition in lualib.h is for external C
> api users but the one in llimits.h is for internal usage?
Yes (where "external C api users" are mainly the standard libraries).
-- Roberto