From: John L. <jr...@us...> - 2007-11-08 00:06:44
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12286/wxLua/bindings Modified Files: genwxbind.lua readme.txt Log Message: A little more cleanup on genwxbind.lua to make it easier to follow Fix bool member code generation Index: readme.txt =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/readme.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** readme.txt 14 Feb 2006 16:52:36 -0000 1.2 --- readme.txt 8 Nov 2007 00:06:38 -0000 1.3 *************** *** 11,17 **** The lua program must have been previously compiled for this to work. MSW: run genwxbind.bat ! Unix: run make in the bindings/wxwidgets or bindings/wxstc dirs ! ! DO NOT EDIT the cpp files in modules/wxbind and modules/wxbindstc since any changes will be overwritten by the binding generator. You should make changes to the interface files and regenerate the bindings. --- 11,17 ---- The lua program must have been previously compiled for this to work. MSW: run genwxbind.bat ! Unix: run make in the bindings/ dir ! ! DO NOT EDIT the cpp files in modules/wxbind and modules/wxbindstc since any changes will be overwritten by the binding generator. You should make changes to the interface files and regenerate the bindings. Index: genwxbind.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v retrieving revision 1.148 retrieving revision 1.149 diff -C2 -d -r1.148 -r1.149 *** genwxbind.lua 7 Nov 2007 00:18:38 -0000 1.148 --- genwxbind.lua 8 Nov 2007 00:06:38 -0000 1.149 *************** *** 195,199 **** Abstract = abstract, Condition = nil, -- conditions for this data type, eg. wxLUA_USE_xxx ! Encapsulate = nil, -- Non wxObject derived class } end --- 195,199 ---- Abstract = abstract, Condition = nil, -- conditions for this data type, eg. wxLUA_USE_xxx ! ["%encapsulate"] = nil, -- Non wxObject derived class } [...1125 lines suppressed...] ! Condition = condition } --- 3837,3852 ---- local delMethodBinding = { ! LuaName = "delete", ! CFunctionName = funcName, ! Method = codeList, ! FuncType = "WXLUAMETHOD_METHOD", ! FuncMap = "{ "..funcName..", WXLUAMETHOD_METHOD|WXLUAMETHOD_DELETE, 1, 1, "..overload_argListName.." }", ! FuncMapName = funcMapName, ! ArgArray = overload_argList, ! ArgArrayName = overload_argListName, ! ParamCount = 1, RequiredParamCount = 1, ! Map = " { \"delete\", WXLUAMETHOD_METHOD|WXLUAMETHOD_DELETE, "..funcMapName..", 1, NULL },\n", ! Condition = condition } |