summaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-04 15:29:05 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-04 15:29:05 -0200
commit38da8c0d7d69da5eed2e98a0871b86113869b858 (patch)
treec3f3075ca6d9aec4824231c315f8acf15af78e9a /ltests.h
parent76de732745d5781fe3ee1af4fd43f01a6c4b8ce4 (diff)
downloadlua-github-38da8c0d7d69da5eed2e98a0871b86113869b858.tar.gz
new facilities to test memory overflow in main.c
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index 4f61920a..44242781 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
/*
-** $Id: ltests.h,v 1.18 2002/11/12 14:34:18 roberto Exp roberto $
+** $Id: ltests.h,v 1.19 2002/11/19 17:42:32 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -54,6 +54,11 @@ int luaB_opentests (lua_State *L);
#define LUA_EXTRALIBS { "tests", luaB_opentests },
+/* real main will be defined at `ltests.c' */
+int l_main (int argc, char *argv[]);
+#define main l_main
+
+
/* change some sizes to give some bugs a chance */