lua

A copy of the Lua development repository
Log | Files | Refs | README

commit ad2b5decc89d254db842289b4f5183ddda68f191
parent 32c1764b5d5e092869de4bad7b3182270497d511
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  7 May 2010 15:43:48 -0300

'lua_assert' can be empty when assertions are off

Diffstat:
Mllimits.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llimits.h b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.78 2010/04/19 17:40:13 roberto Exp roberto $ +** $Id: llimits.h,v 1.79 2010/04/29 17:31:31 roberto Exp roberto $ ** Limits, basic types, and some other `installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -60,7 +60,7 @@ typedef LUAI_UACNUMBER l_uacNumber; #if defined(lua_assert) #define check_exp(c,e) (lua_assert(c), (e)) #else -#define lua_assert(c) ((void)0) +#define lua_assert(c) /* empty */ #define check_exp(c,e) (e) #endif