From b4cd38ba6c148cf7db5deae6208b660c3417cac9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Apr 2004 17:13:38 -0300 Subject: new scheme for configuration through `luaconf.h' --- ltests.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 934aad47..c1f58d8d 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 2.2 2004/02/16 19:09:52 roberto Exp roberto $ +** $Id: ltests.h,v 2.3 2004/03/15 21:04:54 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -19,6 +19,8 @@ #include #define lua_assert(c) assert(c) #define check_exp(c,e) (lua_assert(c), (e)) +#undef api_check +#define api_check(L, o) lua_assert(o) /* to avoid warnings, and to make sure value is really unused */ @@ -63,7 +65,9 @@ extern int islocked; int luaB_opentests (lua_State *L); -#define LUA_EXTRALIBS { "tests", luaB_opentests }, +#undef LUA_EXTRALIBS +#define LUA_EXTRALIBS { "tests", luaB_opentests }, + /* real main will be defined at `ltests.c' */ -- cgit v1.2.3-55-g6feb