Update of /cvsroot/wxlua/wxLua/samples
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20622/wxLua/samples
Modified Files:
wxluasudoku.wx.lua
Log Message:
Rename wxLuaBinding/wxLuaState::GetLuaClass() to GetBindClass() since it
gets the wxLuaBindClass struct
Moved the code for searching the binding classes to static functions
of wxLuaBinding to keep the code together with the wxLuaBinding class
Index: wxluasudoku.wx.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/samples/wxluasudoku.wx.lua,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** wxluasudoku.wx.lua 8 Nov 2007 05:41:21 -0000 1.75
--- wxluasudoku.wx.lua 5 Dec 2007 05:54:11 -0000 1.76
***************
*** 441,446 ****
for cell = 1, 81 do
sudoku.cellToRowColBlockCellsArray[cell] = {}
! for k, v in pairs(sudoku.cellToRowColBlockCellsTable) do
! table.insert(sudoku.cellToRowColBlockCellsArray, k)
end
end
--- 441,446 ----
for cell = 1, 81 do
sudoku.cellToRowColBlockCellsArray[cell] = {}
! for k, v in pairs(sudoku.cellToRowColBlockCellsTable[cell]) do
! table.insert(sudoku.cellToRowColBlockCellsArray[cell], k)
end
end
|