Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv24974/wxLua/modules/wxluadebug/src
Modified Files:
wxldebug.cpp
Log Message:
* Changed signature of the function wxLuaState::SetLuaDebugHook() so that
the inputs to lua_sethook() are together and in the same order.
- Renamed wxLuaCallback to wxLuaEventCallback to make it more clear that
it is a callback for the wxEvents using wxEvtHandlers.
Cleaned up the comments in the headers.
Index: wxldebug.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxldebug.cpp,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** wxldebug.cpp 13 Dec 2007 00:47:53 -0000 1.59
--- wxldebug.cpp 15 Dec 2007 16:56:41 -0000 1.60
***************
*** 369,374 ****
else if (lightuserdata_reg_key == &wxlua_lreg_evtcallbacks_key)
{
! wxLuaCallback* wxlCallback = (wxLuaCallback*)lua_touserdata(L, -2);
! wxCHECK_MSG(wxlCallback, count, wxT("Invalid wxLuaCallback"));
wxString s(wxlCallback->GetInfo());
--- 369,374 ----
else if (lightuserdata_reg_key == &wxlua_lreg_evtcallbacks_key)
{
! wxLuaEventCallback* wxlCallback = (wxLuaEventCallback*)lua_touserdata(L, -2);
! wxCHECK_MSG(wxlCallback, count, wxT("Invalid wxLuaEventCallback"));
wxString s(wxlCallback->GetInfo());
|