summaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-09-10 14:30:46 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-09-10 14:30:46 -0300
commit226c57fec0cc2a1b9457ec4204f13c5b7a108cc7 (patch)
tree520797ca5f2070ff2c77a4e5756b63bb419dbd60 /ltests.h
parent0de2065f4e7cbbbe301b07835b9dd0b1bd1a4bbb (diff)
downloadlua-226c57fec0cc2a1b9457ec4204f13c5b7a108cc7.tar.gz
lua-226c57fec0cc2a1b9457ec4204f13c5b7a108cc7.tar.bz2
lua-226c57fec0cc2a1b9457ec4204f13c5b7a108cc7.zip
simpler configuration to turn on all asserts
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ltests.h b/ltests.h
index 111c38a2..9338851c 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.8 2004/07/09 14:29:29 roberto Exp roberto $ 2** $Id: ltests.h,v 2.9 2004/07/16 13:17:00 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,9 +17,6 @@
17#include <assert.h> 17#include <assert.h>
18#undef lua_assert 18#undef lua_assert
19#define lua_assert(c) assert(c) 19#define lua_assert(c) assert(c)
20#define check_exp(c,e) (lua_assert(c), (e))
21#undef api_check
22#define api_check(L, o) lua_assert(o)
23 20
24 21
25/* to avoid warnings, and to make sure value is really unused */ 22/* to avoid warnings, and to make sure value is really unused */