summaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-06-30 09:58:44 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-06-30 09:58:44 -0300
commita6179adf12d78e7e1fedee42440127f3e1786f3d (patch)
tree8b64225aa55c6c621e3fcf607413316f073a127f /ltests.h
parent02a2c01ccd4dda04636a30cb60b6dd52511fd790 (diff)
downloadlua-a6179adf12d78e7e1fedee42440127f3e1786f3d.tar.gz
lua-a6179adf12d78e7e1fedee42440127f3e1786f3d.tar.bz2
lua-a6179adf12d78e7e1fedee42440127f3e1786f3d.zip
detail
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index 0f754917..009884a9 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.5 2004/05/03 12:28:43 roberto Exp roberto $ 2** $Id: ltests.h,v 2.6 2004/06/02 19:09:21 roberto Exp roberto $
3** Internal Header for Debugging of the Lua Implementation 3** Internal Header for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -17,6 +17,7 @@
17 17
18#undef NDEBUG 18#undef NDEBUG
19#include <assert.h> 19#include <assert.h>
20#undef lua_assert
20#define lua_assert(c) assert(c) 21#define lua_assert(c) assert(c)
21#define check_exp(c,e) (lua_assert(c), (e)) 22#define check_exp(c,e) (lua_assert(c), (e))
22#undef api_check 23#undef api_check