aboutsummaryrefslogtreecommitdiff
path: root/lualib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-18 14:42:52 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-18 14:42:52 -0300
commiteec0905173702423569222bfabae1eb0500b4626 (patch)
tree03f6d4f64b94685de10c6df72e810b63cf994bc6 /lualib.h
parenta44f37513becb25d0595df1e714851870b50b6dd (diff)
downloadlua-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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lualib.h b/lualib.h
index 68d88d7e..23c0298b 100644
--- a/lualib.h
+++ b/lualib.h
@@ -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);
38LUALIB_API int lua_dblibopen (lua_State *L); 38LUALIB_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