From 258355734d3aceb34eb6288ece37d9bbd7f2bc6d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 21 Oct 2024 15:18:20 -0300 Subject: Better support in 'ltests' for tracing the GC --- ltests.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 078c9fc3..906fae33 100644 --- a/ltests.h +++ b/ltests.h @@ -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 */ -- cgit v1.2.3-55-g6feb