new scheme for configuration through `luaconf.h'
This commit is contained in:
8
ltests.h
8
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 <assert.h>
|
||||
#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' */
|
||||
|
||||
Reference in New Issue
Block a user