Update of /cvsroot/wxlua/wxLua/apps/wxluacan/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1560/wxLua/apps/wxluacan/src
Modified Files:
wxluacan.h wxluacan_bind.cpp
Log Message:
speed up genwxbind.lua
add wxLuaBinding::GetBindingName as a unique name to know if it's added
Rename *AddToTrackedMemory -> AddTrackedObject since it only tracks wxObjects
Rename wxLuaState::AddTrackedEventHandler to AddTrackedCallback and only accept wxLuaCallbacks
Rename wxLuaState::AddTrackedDestroyEventHandler to AddTrackedWinDestroyCallback and only accept wxLuaWinDestroyCallbacks
Make type evaluation for the bindings more strict
Index: wxluacan_bind.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxluacan/src/wxluacan_bind.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** wxluacan_bind.cpp 13 Dec 2006 00:27:55 -0000 1.10
--- wxluacan_bind.cpp 14 Dec 2006 01:01:22 -0000 1.11
***************
*** 180,184 ****
wxLuaBinding_wxluacan::wxLuaBinding_wxluacan() : wxLuaBinding()
{
! m_nameSpace = wxT("wxluacan");
m_classList = wxLuaGetClassList_wxluacan(m_classCount);
m_defineList = wxLuaGetDefineList_wxluacan(m_defineCount);
--- 180,185 ----
wxLuaBinding_wxluacan::wxLuaBinding_wxluacan() : wxLuaBinding()
{
! m_bindingName = wxT("wxluacan");
! m_nameSpace = wxT("wxluacan");
m_classList = wxLuaGetClassList_wxluacan(m_classCount);
m_defineList = wxLuaGetDefineList_wxluacan(m_defineCount);
Index: wxluacan.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxluacan/src/wxluacan.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** wxluacan.h 13 Dec 2006 06:57:48 -0000 1.17
--- wxluacan.h 14 Dec 2006 01:01:22 -0000 1.18
***************
*** 14,20 ****
#include "wxlua/include/wxlbind.h"
! #if WXLUA_BINDING_VERSION > 2
# error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings."
! #endif //WXLUA_BINDING_VERSION > 2
// binding class
--- 14,20 ----
#include "wxlua/include/wxlbind.h"
! #if WXLUA_BINDING_VERSION > 3
# error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings."
! #endif //WXLUA_BINDING_VERSION > 3
// binding class
|