lua-users home
lua-l archive

Re: lua_assert definition

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


> 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

AltStyle によって変換されたページ (->オリジナル) /