Update of /cvsroot/wxlua/wxLua/apps/wxluaedit/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16698/wxLua/apps/wxluaedit/src
Modified Files:
wxluaedit.cpp
Log Message:
Add "voidptr_long" binding tag to allow using void* as a number
Speed up bindings by using numbers as keys in the registry (avoid lua doing a string copy)
Get rid of wxLuaState::GetXXXTag functions, something better needs to be implemented,
using global vars for the few tags that we really use often now
Allow the wxLuaStackDialog to be able to show lua's registry
lots of cleanup in bindings.wx.lua
Index: wxluaedit.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxluaedit/src/wxluaedit.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** wxluaedit.cpp 14 Jun 2007 01:23:06 -0000 1.33
--- wxluaedit.cpp 14 Jun 2007 23:59:41 -0000 1.34
***************
*** 41,48 ****
// Declare the binding initialization functions as extern so we don't have to
// #include the binding header for simplicity.
! extern bool wxLuaBinding_wxlua_init();
! extern bool wxLuaBinding_wx_init();
! extern bool wxLuaBinding_wxstc_init();
! extern bool wxLuaBinding_wxluasocket_init();
wxWindowID ID_WXLUASTATE_DEBUG = 200;
--- 41,48 ----
// Declare the binding initialization functions as extern so we don't have to
// #include the binding header for simplicity.
! extern bool wxLuaBinding_wxlua_init(); // modules/wxlua
! extern bool wxLuaBinding_wx_init(); // modules/wxbind
! extern bool wxLuaBinding_wxstc_init(); // modules/wxstcbind
! extern bool wxLuaBinding_wxluasocket_init(); // modules/wxluasocket
wxWindowID ID_WXLUASTATE_DEBUG = 200;
|