[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Creating a default error handler for lua_pcall
- From: Sam Roberts <sroberts@...>
- Date: Tue, 27 Mar 2007 10:06:16 -0700
On Tue, Mar 27, 2007 at 11:01:25AM +0100, Lee Hickey wrote:
> Thanks for the suggestions. Both of those things will work of course,
> and I'll do both, however, I can't help feeling there should be a way to
> set up a default error handler. A pseudo-index type approach seems like
> a sensible way, so I think I'll have a play at adding that in. Has there
> been any work done on customisable pseudo-indices?
Using a real index and not trashing your stack works well.