summaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
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 6aef3984..9a03d27a 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
/*
-** $Id: ltests.h,v 1.12 2002/03/08 19:17:59 roberto Exp roberto $
+** $Id: ltests.h,v 1.13 2002/06/11 16:26:12 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -18,6 +18,7 @@
#undef NDEBUG
#include <assert.h>
#define lua_assert(c) assert(c)
+#define check_exp(c,e) (lua_assert(c), (e))
#define api_check(L, o) lua_assert(o)