better tests (assertions) for debug hooks

This commit is contained in:
Roberto Ierusalimschy
2002-06-18 14:42:52 -03:00
parent a44f37513b
commit eec0905173
3 changed files with 14 additions and 5 deletions

View File

@@ -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