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-b320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c.tar.gz lua-b320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c.tar.bz2 lua-b320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c.zip |
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 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 2.12 2005/03/18 18:55:45 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.13 2005/04/13 17:24:20 roberto Exp roberto $ |
3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -47,7 +47,10 @@ void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); | |||
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | 49 | ||
50 | typedef struct CallInfo *pCallInfo; | ||
51 | |||
50 | int lua_checkmemory (lua_State *L); | 52 | int lua_checkmemory (lua_State *L); |
53 | int lua_checkpc (lua_State *L, pCallInfo ci); | ||
51 | 54 | ||
52 | 55 | ||
53 | /* test for lock/unlock */ | 56 | /* test for lock/unlock */ |