Update of /cvsroot/wxlua/wxLua/modules/wxlua/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15712/wxLua/modules/wxlua/include
Modified Files:
internal.h
Log Message:
move check stack to debug lib and remove duplicate code
Index: internal.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/internal.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** internal.h 20 May 2006 19:40:19 -0000 1.30
--- internal.h 30 May 2006 22:56:28 -0000 1.31
***************
*** 176,203 ****
WXDLLIMPEXP_WXLUA void LUACALL wxLua_lua_tpushwxLuaNull(lua_State* L);
- // ----------------------------------------------------------------------------
- // wxLuaCheckStack - dumps the contents of the lua_State
- // ----------------------------------------------------------------------------
-
- class WXDLLIMPEXP_WXLUA wxLuaCheckStack
- {
- public:
- wxLuaCheckStack(lua_State* L, const wxString &msg);
- ~wxLuaCheckStack();
- void TestStack(const wxString &msg);
-
- static void DumpGlobals(lua_State* L);
- static void DumpTable(lua_State* L, const wxString &tableName);
- static void DumpTable(lua_State* L, int index, const wxString& tablename, wxLuaStringToLongHashMap& dumpList, int indent);
-
- private:
- static void DumpType(lua_State* L, int index, wxString& type, wxString& value, wxString& info);
- static int GetTableInfo(lua_State* L, int index, wxString& address, wxString& info);
- static wxString GetUserDataInfo(lua_State* L, int index);
-
- lua_State* m_luaState;
- wxString m_msg;
- int m_top;
- };
-
#endif // WX_LUA_INTERNALS_H
--- 176,178 ----
|