From: John L. <jr...@us...> - 2005-11-26 08:47:05
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25224/wxLua/modules/wxluadebug/include Modified Files: wxldebug.h Log Message: Use the new wxLuaState in place of wxLuaStateVariables (removed) Index: wxldebug.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxldebug.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wxldebug.h 26 Nov 2005 03:15:19 -0000 1.2 --- wxldebug.h 26 Nov 2005 08:46:57 -0000 1.3 *************** *** 31,34 **** --- 31,35 ---- #include "wxlua/include/wxldefs.h" + #include "wxlua/include/wxlstate.h" class WXDLLIMPEXP_WXLUA wxLuaDebugData; *************** *** 120,124 **** { public: ! wxLuaInterface(lua_State *luaState); virtual ~wxLuaInterface(); --- 121,125 ---- { public: ! wxLuaInterface(const wxLuaState& wxlState); virtual ~wxLuaInterface(); *************** *** 128,132 **** wxLuaDebugData *GetGlobalData(); ! lua_State *GetLuaState() const { return m_luaState; } private: --- 129,134 ---- wxLuaDebugData *GetGlobalData(); ! lua_State *GetLuaState() const { return m_wxlState.GetLuaState(); } ! wxLuaState GetwxLuaState() const { return m_wxlState; } private: *************** *** 160,164 **** static wxString MakeBoolean(int num); ! lua_State *m_luaState; wxArrayInt m_references; }; --- 162,166 ---- static wxString MakeBoolean(int num); ! wxLuaState m_wxlState; wxArrayInt m_references; }; *************** *** 244,250 **** public: wxLuaDebugEvent(const wxLuaDebugEvent& event); ! wxLuaDebugEvent(int eventType = wxEVT_NULL, int lineNumber = 0, ! const wxString &fileName = wxEmptyString, bool enabledFlag = false); --- 246,252 ---- public: wxLuaDebugEvent(const wxLuaDebugEvent& event); ! wxLuaDebugEvent(int eventType = wxEVT_NULL, int lineNumber = 0, ! const wxString &fileName = wxEmptyString, bool enabledFlag = false); |