lua-users home
lua-l archive

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



On 26/12/14 02:14 PM, Roberto Ierusalimschy wrote:
I noticed there's no function to invoke a metamethod in a way it can
yield. Why's this?
Doesn't luaL_getmetafield + lua_callk do what you want?

-- Roberto

Yes but it's not that simple for __index

--
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.