Better support in 'ltests' for tracing the GC

This commit is contained in:
Roberto Ierusalimschy
2024-10-21 15:18:20 -03:00
parent d0815046d0
commit 258355734d
5 changed files with 67 additions and 30 deletions

View File

@@ -58,6 +58,10 @@ typedef struct Memcontrol {
LUA_API Memcontrol l_memcontrol;
#define luai_tracegc(L,f) luai_tracegctest(L, f)
LUAI_FUNC void luai_tracegctest (lua_State *L, int first);
/*
** generic variable for debug tricks
*/