aboutsummaryrefslogtreecommitdiff
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 1d29b82a..2d7a4822 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 1.3 2001/02/06 16:01:29 roberto Exp roberto $ 2** $Id: ltests.h,v 1.4 2001/02/06 18:18:58 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*/
@@ -16,6 +16,7 @@
16#undef NDEBUG 16#undef NDEBUG
17#include <assert.h> 17#include <assert.h>
18#define lua_assert(c) assert(c) 18#define lua_assert(c) assert(c)
19#define api_check(L, o) lua_assert(o)
19 20
20 21
21/* to avoid warnings, and to make sure value is really unused */ 22/* to avoid warnings, and to make sure value is really unused */