Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31794/wxLua/bindings
Modified Files:
genwxbind.lua
Log Message:
Cleanup genwxbind.lua a little to make it easier to trace through it
Index: genwxbind.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v
retrieving revision 1.147
retrieving revision 1.148
diff -C2 -d -r1.147 -r1.148
*** genwxbind.lua 6 Aug 2007 01:46:32 -0000 1.147
--- genwxbind.lua 7 Nov 2007 00:18:38 -0000 1.148
***************
*** 185,194 ****
-- Allocate a data type description table (int, double, class...) to dataTypeTable
-- ---------------------------------------------------------------------------
! function AllocDataType(name, deftype, is_number, abstract)
dataTypeTable[name] =
{
- DefType = deftype, -- number, enum, class, special (special handling)
- -- determines how to handle the data type
Name = name, -- typename, eg. void, bool, wxInt32
BaseClass = nil, -- the BaseClass of this, if this is a class
IsNumber = is_number, -- can this data type be stored as a double (lua's number type)
[...1821 lines suppressed...]
-- Output Parsed Object
table.insert(fileData, "// ---------------------------------------------------------------------------\n")
! table.insert(fileData, "// Bind "..string.sub(object.ObjType, 10).." "..object.Name.."\n")
table.insert(fileData, "// ---------------------------------------------------------------------------\n\n")
***************
*** 4893,4897 ****
if override_fileTable then
! ReadOverrideFileTable(override_fileTable)
end
--- 4885,4891 ----
if override_fileTable then
! for i = 1, #override_fileTable do
! ReadOverrideFile(override_fileTable[i])
! end
end
|