lua-users home
lua-l archive

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

> I understand why I can't yield across a C call, but what is the reason for
> the other part of the assertion?

Sorry about that. I didn't notice the other part. Currently it is only
an internal check: as lua_resume does not set an error handler, it must
be zero. There is nothing inherently wrong with an error handler in

> However, I still wonder why a similar functionality doesn't exist in the
> first place?

Sloppines? ;)

-- Roberto