Update of /cvsroot/wxlua/wxLua/bindings/wxluasocket
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14464/wxLua/bindings/wxluasocket
Modified Files:
override.hpp
Log Message:
more code refactoring, move more functions into wxLuaDebuggerBase
Index: override.hpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxluasocket/override.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** override.hpp 24 May 2006 15:41:55 -0000 1.1
--- override.hpp 6 Sep 2006 22:23:18 -0000 1.2
***************
*** 9,13 ****
wxString buffer = lua2wx(wxlState.GetStringType(1));
// compile the file
! bool fResult = wxLuaDebugServer::Compile(buffer, fileName);
// push result
lua_pushboolean(L, fResult);
--- 9,14 ----
wxString buffer = lua2wx(wxlState.GetStringType(1));
// compile the file
! wxLuaDebuggerBase debuggerBase;
! bool fResult = debuggerBase.Compile(buffer, fileName);
// push result
lua_pushboolean(L, fResult);
|