lua-users home
lua-l archive

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


On Thu, Apr 19, 2012 at 09:18:26AM +0100, Daniel Silverstone wrote:
> On Thu, Apr 19, 2012 at 10:16:23AM +0200, Marc Balmer wrote:
> > Is it safe to call a Lua function from a C function that itself has
> > been called from a Lua function (in the same state)?
> 
> Yes, although don't expect to be able to yield across that C boundary (in
> normal circumstances)
> 

Unless you're using Lua 5.2 and the appropriate call routine ;)