diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-09-26 07:23:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 07:23:48 -0400 |
commit | 03428d9825cfdf2cfaed6ac9410dafccac0d4f3a (patch) | |
tree | 3f6bacfa9e074e6e523698a10b0195349612eaa8 /lib/lua/src/lstate.h | |
parent | f916398a541dbd09cbf14409f358556bc42f5535 (diff) | |
download | minetest-03428d9825cfdf2cfaed6ac9410dafccac0d4f3a.tar.xz |
Modify PUC Lua to wrap C++ exceptions (#12445)
Diffstat (limited to 'lib/lua/src/lstate.h')
-rw-r--r-- | lib/lua/src/lstate.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |