From: John L. <jr...@us...> - 2005-12-30 04:36:08
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11092/wxLua/bindings Modified Files: genwxbind.lua Log Message: use wxLuaState in addToTrackedMemory, now called wxLua_addToTrackedMemory better docs in wxlstate header rem out wxPrintf debug code fix error recreating wxLuaState, need to Destroy before calling UnRef Index: genwxbind.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** genwxbind.lua 29 Dec 2005 20:03:47 -0000 1.14 --- genwxbind.lua 30 Dec 2005 04:35:59 -0000 1.15 *************** *** 3154,3158 **** end ! table.insert(codeList, " addToTrackedMemoryList(L, ("..returnCast..")returns);\n") elseif parseObject.HasClassInfo then if (comment) then table.insert(codeList, " // add to tracked window list\n") end --- 3154,3158 ---- end ! table.insert(codeList, " wxLua_addToTrackedMemoryList(wxlState, ("..returnCast..")returns);\n") elseif parseObject.HasClassInfo then if (comment) then table.insert(codeList, " // add to tracked window list\n") end *************** *** 3225,3229 **** end ! table.insert(codeList, " addToTrackedMemoryList(L, ("..returnCast..")returns);\n") elseif memberPtr == "&" and memberType ~= "wxString" then table.insert(codeList, " returns = &"..functor..";\n") --- 3225,3229 ---- end ! table.insert(codeList, " wxLua_addToTrackedMemoryList(wxlState, ("..returnCast..")returns);\n") elseif memberPtr == "&" and memberType ~= "wxString" then table.insert(codeList, " returns = &"..functor..";\n") |