Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18915/wxLua/bindings
Modified Files:
genwxbind.lua
Log Message:
more updates to wxWidgets 2.8 using headers (up to longlong.h)
Index: genwxbind.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v
retrieving revision 1.104
retrieving revision 1.105
diff -C2 -d -r1.104 -r1.105
*** genwxbind.lua 13 Mar 2007 05:00:57 -0000 1.104
--- genwxbind.lua 13 Mar 2007 23:01:53 -0000 1.105
***************
*** 844,847 ****
--- 844,848 ----
preprocConditionTable["wxUSE_TEXTDLG"] = "wxUSE_TEXTDLG"
preprocConditionTable["wxUSE_TEXTFILE"] = "wxUSE_TEXTFILE"
+ preprocConditionTable["wxUSE_TGA"] = "wxUSE_TGA"
preprocConditionTable["wxUSE_THREADS"] = "wxUSE_THREADS"
preprocConditionTable["wxUSE_TIMEDATE"] = "wxUSE_TIMEDATE"
***************
*** 2008,2012 ****
if IsDataType(tag) or dataTypeAttribTable[tag] or (tag == "*") or (tag == "&") or (tag == "[]") then
print("Error: Invalid Enum Token '"..tag.."'. "..LineTableErrString(lineTable))
! else
lineState.DefType = "enum"
lineState.Name = tag
--- 2009,2013 ----
if IsDataType(tag) or dataTypeAttribTable[tag] or (tag == "*") or (tag == "&") or (tag == "[]") then
print("Error: Invalid Enum Token '"..tag.."'. "..LineTableErrString(lineTable))
! elseif tag ~= "," then -- ignore trailing commas
lineState.DefType = "enum"
lineState.Name = tag
***************
*** 2018,2022 ****
-- class or function parseObject
! elseif (parseState.ObjectStack[1].DefType == "class") or (parseState.ObjectStack[1].DefType == "globals") then
if IsDataType(tag) then
lineState.DataType = SpaceSeparateStrings(lineState.DataType, tag)
--- 2019,2025 ----
-- class or function parseObject
! elseif (parseState.ObjectStack[1].DefType == "class") or
! (parseState.ObjectStack[1].DefType == "struct") or
! (parseState.ObjectStack[1].DefType == "globals") then
if IsDataType(tag) then
lineState.DataType = SpaceSeparateStrings(lineState.DataType, tag)
|