Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1034/wxLua/modules/wxluadebug/src
Modified Files:
staktree.cpp wxldebug.cpp
Log Message:
Finished cleaning up the code, removed all code from internal.h and internal.cpp
and moved it to other files. Do not #include internal.h anymore!
Have the functions in wxLuaState that only call C lua funcs call C helper funcs in wxlstate.cpp
so that you don't have to create a wxLuaState if you don't really need it.
Index: wxldebug.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxldebug.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** wxldebug.cpp 30 May 2006 22:56:29 -0000 1.15
--- wxldebug.cpp 28 Aug 2006 05:26:20 -0000 1.16
***************
*** 24,28 ****
#include "wxluadebug/include/wxldebug.h"
- #include "wxlua/include/internal.h"
// ----------------------------------------------------------------------------
--- 24,27 ----
***************
*** 221,225 ****
// get the index, just want the name=value, type is dummy here
! GetTypeValue(wxlState, -2, type, name);
// get the type and value
GetTypeValue(wxlState, -1, type, value);
--- 220,224 ----
// get the index, just want the name=value, type is dummy here
! GetTypeValue(wxlState, -2, type, name);
// get the type and value
GetTypeValue(wxlState, -1, type, value);
Index: staktree.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/staktree.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** staktree.cpp 15 May 2006 04:48:37 -0000 1.25
--- staktree.cpp 28 Aug 2006 05:26:20 -0000 1.26
***************
*** 25,29 ****
#include "wx/artprov.h"
#include "wxluadebug/include/staktree.h"
- #include "wxlua/include/internal.h"
#include "wxlua/include/wxlua.h"
#include "wxlua/include/wxlcallb.h"
--- 25,28 ----
|