lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 12 January 2018 at 05:14, Dan Tull <dtull@adobe.com> wrote:
> > *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).

Sure they were:
http://www.lua.org/source/5.1/luaconf.h.html#luai_userstatethread