summaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-03 16:01:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-03 16:01:17 -0300
commitb320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c (patch)
treef2e37cb4b7c90913eea3cea8ab8bd7e096fe85cf /ltests.h
parent9b8d136e1cda86c6292105fb1e92d3b909ce1491 (diff)
downloadlua-github-b320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c.tar.gz
better tests for correctness of `savedpc'
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index 7c145680..ff843092 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
/*
-** $Id: ltests.h,v 2.12 2005/03/18 18:55:45 roberto Exp roberto $
+** $Id: ltests.h,v 2.13 2005/04/13 17:24:20 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -47,7 +47,10 @@ void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize);
#endif
+typedef struct CallInfo *pCallInfo;
+
int lua_checkmemory (lua_State *L);
+int lua_checkpc (lua_State *L, pCallInfo ci);
/* test for lock/unlock */