From: Gustl B. <gu...@gm...> - 2005-12-16 06:59:01
|
Hi >I'm a little stumped, did this code of yours ever work with wxLua in >any version? > Yes, it worked with the version 26.254, which you can download from the official site. I tested the small test script I sent with it. >I'm not sure how to handle the failing lua_getmetatable >in ttag for the coroutine since I thought that the new lua_State >copied everything from the old one. > I don't know the internals of lua, maybe it does not support this yet. I have found this site: http://lua-users.org/wiki/ResumableVmPatch Maybe that's the problem? Do you really have to make a copy of the lua_State when creating a coroutine? Houdini |