From: John L. <jr...@us...> - 2006-06-06 05:14:39
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8826/wxLua/modules/wxlua/include Modified Files: wxlstate.h Log Message: add coroutine.wx.lua sample and fix coroutines after breaking it from require code Index: wxlstate.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlstate.h,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** wxlstate.h 14 May 2006 07:48:09 -0000 1.47 --- wxlstate.h 6 Jun 2006 05:14:32 -0000 1.48 *************** *** 206,213 **** enum wxLuaState_Type { ! WXLUASTATE_ATTACH = 1, // Attach to a currently created lua_State ! // refing the existing wxLuaStateRefData ! WXLUASTATE_SETSTATE = 2 // Only set the lua_State and don't close it ! // when destroyed }; --- 206,215 ---- enum wxLuaState_Type { ! WXLUASTATE_ATTACH = 1, // Attach to a previously created wxLuaState's ! // lua_State refing the existing wxLuaStateRefData ! WXLUASTATE_SETSTATE = 2, // Set the lua_State, register the bindings, ! // and don't close it when destroyed ! WXLUASTATE_COROUTINE = 3 // This is a coroutine created state, just ! // track the state (internal use) }; |