From: John L. <jr...@us...> - 2008-10-27 02:27:25
|
Update of /cvsroot/wxlua/wxLua/bindings In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25342/wxLua/bindings Modified Files: genwxbind.lua Log Message: Update to Lua 5.1.4 Don't create a new object to copy the returned pointer from an operator, just wrap the pointer. Index: genwxbind.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v retrieving revision 1.172 retrieving revision 1.173 diff -C2 -d -r1.172 -r1.173 *** genwxbind.lua 25 Oct 2008 05:18:56 -0000 1.172 --- genwxbind.lua 27 Oct 2008 02:27:19 -0000 1.173 *************** *** 506,510 **** -- --------------------------------------------------------------------------- function FileExists(path) ! local file_handle = io.open(path) if not file_handle then return false --- 506,510 ---- -- --------------------------------------------------------------------------- function FileExists(path) ! local file_handle = io.open(path, "rb") if not file_handle then return false *************** *** 3755,3759 **** if member["%operator"] then - memberPtr = false if member["%operator"] == "[]" then -- op_index functor = "(*self)[" --- 3755,3758 ---- |