From b320d37a80c6068cf6b7a91cdd8c8bc8bf71e06c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 3 May 2005 16:01:17 -0300 Subject: better tests for correctness of `savedpc' --- ltests.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ltests.h') 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 */ -- cgit v1.2.3-55-g6feb