From eec0905173702423569222bfabae1eb0500b4626 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 18 Jun 2002 14:42:52 -0300 Subject: better tests (assertions) for debug hooks --- lualib.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lualib.h') diff --git a/lualib.h b/lualib.h index 68d88d7e..23c0298b 100644 --- a/lualib.h +++ b/lualib.h @@ -1,5 +1,5 @@ /* -** $Id: lualib.h,v 1.22 2002/04/09 20:19:06 roberto Exp roberto $ +** $Id: lualib.h,v 1.23 2002/06/05 17:24:04 roberto Exp roberto $ ** Lua standard libraries ** See Copyright Notice in lua.h */ @@ -38,4 +38,9 @@ LUALIB_API int lua_mathlibopen (lua_State *L); LUALIB_API int lua_dblibopen (lua_State *L); +/* to help testing the libraries */ +#ifndef lua_assert +#define lua_assert(c) /* empty */ +#endif + #endif -- cgit v1.2.3-55-g6feb