From 03428d9825cfdf2cfaed6ac9410dafccac0d4f3a Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Mon, 26 Sep 2022 07:23:48 -0400 Subject: Modify PUC Lua to wrap C++ exceptions (#12445) --- lib/lua/src/lstate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/lua/src/lstate.h') diff --git a/lib/lua/src/lstate.h b/lib/lua/src/lstate.h index 3bc575b6b..c4364ea3f 100644 --- a/lib/lua/src/lstate.h +++ b/lib/lua/src/lstate.h @@ -86,6 +86,7 @@ typedef struct global_State { int gcpause; /* size of pause between successive GCs */ int gcstepmul; /* GC `granularity' */ lua_CFunction panic; /* to be called in unprotected errors */ + lua_CFunctionwrapper wrapcf; /* MINETEST-SPECIFIC CHANGE */ TValue l_registry; struct lua_State *mainthread; UpVal uvhead; /* head of double-linked list of all open upvalues */ -- cgit v1.2.3