Update of /cvsroot/wxlua/wxLua/samples
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12976/wxLua/samples
Modified Files:
unittest.wx.lua
Log Message:
Too many changes to list...
A large portion of the internal workings of the wxLuaState have been
rewritten. All of the data that was stored in wxLuaStateData that might
be needed by a function taking a lua_State* is now in the
LUA_REGISTRYINDEX. C functions have been added to access these values.
The generated bindings no longer need to have "wxLuaState wxlState(L);"
since everything can be done with the C functions.
The result is that wxLua should be faster.
Index: unittest.wx.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/samples/unittest.wx.lua,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** unittest.wx.lua 8 Aug 2007 02:55:34 -0000 1.16
--- unittest.wx.lua 7 Dec 2007 02:13:16 -0000 1.17
***************
*** 120,123 ****
--- 120,124 ----
b = a:ToLuaTable()
PrintOk((b[2] == "b") and (#b == 3), "Test wxSortedArrayString::ToLuaTable()")
+ collectgarbage("collect") -- test if wxLuaSmartwxSortedArrayString works
a = wx.wxArrayInt({1, 2, 3})
|