|
> *unless* you're willing to compile lua yourself, in which case you can define > luai_userstatethread and luai_userstatefree. See
http://www.lua.org/source/5.3/llimits.h.html#luai_userstatethread
> Which should at least be easier and more maintainable than modifying the lua source.Those do look useful. They weren't in 5.1 at the time, but I'd definitely wind up using them and rethinking a bit if we ever move to 5.3 (not super likely).
DT
|