So it goes - work on a problem for days, and then just after reaching out the solution comes to me.
I think the problem was a misunderstanding of the from parameter in lua_resume which was formerly harmless. Changing that value from the coroutine itself to NULL fixes the problem - this is being resumed by sdl events not a coroutine.
I'm still hitting some other lua 5.4 specific issues but I will continue to evaluate them on a case by case.
Stephen E. Baker
On Sat, Jul 4, 2020 at 10:50 PM Stephen E. Baker <[hidden email]> wrote:
I've been trying to add compatibility with Lua 5.4 to the open source game engine CorsixTH. My patch to date can be seen here: