[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Calling Lua from C from Lua..
- From: William Ahern <william@...>
- Date: Thu, 19 Apr 2012 11:21:06 -0700
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 ;)