From: John L. <jr...@us...> - 2005-11-30 04:46:28
|
Update of /cvsroot/wxlua/wxLua/modules/wxluasocket/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31708/wxLua/modules/wxluasocket/src Modified Files: wxldtarg.cpp Log Message: LuaDebugTarget -> wxLuaDebugTarget wxLuaBind uses wxLuaState more switching to wxLuaState wxDEPRECATED for all C functions that require the wxLuaState (Varaibles) use class functions instead Index: wxldtarg.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/src/wxldtarg.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wxldtarg.cpp 26 Nov 2005 03:15:20 -0000 1.2 --- wxldtarg.cpp 30 Nov 2005 04:46:17 -0000 1.3 *************** *** 33,43 **** // ---------------------------------------------------------------------------- ! // LuaDebugTarget - Handles Debugger/Debuggee IO // ---------------------------------------------------------------------------- ! LuaDebugTarget::LuaDebugTarget(lua_State *luaState, ! const wxString &serverName, ! int portNumber) : ! m_luaState(luaState), m_portNumber(portNumber), [...1267 lines suppressed...] int idx; --- 1118,1122 ---- } ! int LUACALL wxLuaDebugTarget::LuaPrint (lua_State *L) { int idx; *************** *** 1130,1134 **** lua_getglobal(L, debugName); ! LuaDebugTarget *pTarget = (LuaDebugTarget *) lua_touserdata(L, -1); lua_pop(L, 1); --- 1139,1143 ---- lua_getglobal(L, debugName); ! wxLuaDebugTarget *pTarget = (wxLuaDebugTarget *) lua_touserdata(L, -1); lua_pop(L, 1); |