[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_Debug in 5.4: add currentpc?
- From: Daurnimator <quae@...>
- Date: Sat, 13 Jan 2018 13:45:35 +1100
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