[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is this a typo ? "attempt to yield across metamethod/C-call boundary"
- From: William Ahern <william@...>
- Date: Wed, 20 Jun 2012 20:25:56 -0700
On Thu, Jun 21, 2012 at 10:57:59AM +0800, 云风 wrote:
> I read the "ldo.c" , in the line 561 :
>
> luaG_runerror(L, "attempt to yield across metamethod/C-call boundary");
>
> But, lua 5.2 support yield across metamethod now, is this a typo ?
>
Only if the C caller is using lua_callk or lua_pcallk.