diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-03 16:01:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-03 16:01:17 -0300 |
commit | b320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c (patch) | |
tree | f2e37cb4b7c90913eea3cea8ab8bd7e096fe85cf /ltests.h | |
parent | 9b8d136e1cda86c6292105fb1e92d3b909ce1491 (diff) | |
download | lua-github-b320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c.tar.gz |
better tests for correctness of `savedpc'
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |