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.c | |
parent | f916398a541dbd09cbf14409f358556bc42f5535 (diff) | |
download | minetest-03428d9825cfdf2cfaed6ac9410dafccac0d4f3a.tar.xz |
Modify PUC Lua to wrap C++ exceptions (#12445)
Diffstat (limited to 'lib/lua/src/lstate.c')
-rw-r--r-- | lib/lua/src/lstate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lua/src/lstate.c b/lib/lua/src/lstate.c index 4313b83a0..eced4a585 100644 --- a/lib/lua/src/lstate.c +++ b/lib/lua/src/lstate.c @@ -166,6 +166,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { setnilvalue(registry(L)); luaZ_initbuffer(L, &g->buff); g->panic = NULL; + g->wrapcf = NULL; /* MINETEST-SPECIFIC CHANGE */ g->gcstate = GCSpause; g->rootgc = obj2gco(L); g->sweepstrgc = 0; |