From: John L. <jr...@us...> - 2007-06-15 00:00:21
|
Update of /cvsroot/wxlua/wxLua/apps/wxluafreeze/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16698/wxLua/apps/wxluafreeze/src Modified Files: wxluafreeze.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: wxluafreeze.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluafreeze/src/wxluafreeze.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** wxluafreeze.cpp 14 Jun 2007 01:23:06 -0000 1.9 --- wxluafreeze.cpp 14 Jun 2007 23:59:41 -0000 1.10 *************** *** 35,41 **** // 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(); // unique identifier to return for missing script --- 35,43 ---- // 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 ! // unique identifier to return for missing script |