diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-18 14:42:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-18 14:42:52 -0300 |
commit | eec0905173702423569222bfabae1eb0500b4626 (patch) | |
tree | 03f6d4f64b94685de10c6df72e810b63cf994bc6 /lualib.h | |
parent | a44f37513becb25d0595df1e714851870b50b6dd (diff) | |
download | lua-eec0905173702423569222bfabae1eb0500b4626.tar.gz lua-eec0905173702423569222bfabae1eb0500b4626.tar.bz2 lua-eec0905173702423569222bfabae1eb0500b4626.zip |
better tests (assertions) for debug hooks
Diffstat (limited to 'lualib.h')
-rw-r--r-- | lualib.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lualib.h,v 1.22 2002/04/09 20:19:06 roberto Exp roberto $ | 2 | ** $Id: lualib.h,v 1.23 2002/06/05 17:24:04 roberto Exp roberto $ |
3 | ** Lua standard libraries | 3 | ** Lua standard libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -38,4 +38,9 @@ LUALIB_API int lua_mathlibopen (lua_State *L); | |||
38 | LUALIB_API int lua_dblibopen (lua_State *L); | 38 | LUALIB_API int lua_dblibopen (lua_State *L); |
39 | 39 | ||
40 | 40 | ||
41 | /* to help testing the libraries */ | ||
42 | #ifndef lua_assert | ||
43 | #define lua_assert(c) /* empty */ | ||
44 | #endif | ||
45 | |||
41 | #endif | 46 | #endif |