[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: yield across metamethod/C-call ?
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Tue, 16 Feb 2010 17:56:39 +0100
can anyone explain me what's happening running this simple lua script:
lua: attempt to yield across metamethod/C-call boundary
[C]: in function 'yield'
/Users/veleno/Downloads/metaerror.lua:1: in main chunk
I've searched on google for that error, but many references belong to the interaction between C++ and Lua code. Here it's only Lua.
I agree that that kind of code is not really very useful..but I'd like to understand it.