From: John L. <jr...@us...> - 2008-01-29 00:49:20
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8389/wxLua/modules/wxlua/include Modified Files: wxlstate.h wxlua_bind.h Log Message: FIX mistake in making wxLuaState::LuaPCall() clear the stack. Cleanup to the *.i files, add output_single_cpp_binding_file to have only one cpp file generated. Add wxFileSystem and it's handlers. Index: wxlstate.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlstate.h,v retrieving revision 1.119 retrieving revision 1.120 diff -C2 -d -r1.119 -r1.120 *** wxlstate.h 25 Jan 2008 23:50:52 -0000 1.119 --- wxlstate.h 29 Jan 2008 00:49:15 -0000 1.120 *************** *** 774,781 **** --- 774,783 ---- // Run a Lua file from disk using lua_loadfile() then LuaPCall(). + // Leaves nothing on the stack. // Returns 0 on success or Lua's error code. // Sends a wxEVT_LUA_ERROR wxLuaEvent on error. int RunFile(const wxString &fileName); // Run a string that contains Lua code using luaL_loadbuffer() then LuaPCall(). + // Leaves nothing on the stack. // Returns 0 on success or Lua's error code. // Sends a wxEVT_LUA_ERROR wxLuaEvent on error. *************** *** 783,786 **** --- 785,789 ---- // Run a char array #included from bin2c compilation or something else // using luaL_loadbuffer() then LuaPCall(). + // Leaves nothing on the stack. // Returns 0 on success or Lua's error code. // Sends a wxEVT_LUA_ERROR wxLuaEvent on error. Index: wxlua_bind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlua_bind.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** wxlua_bind.h 25 Jan 2008 23:50:53 -0000 1.13 --- wxlua_bind.h 29 Jan 2008 00:49:15 -0000 1.14 *************** *** 1,7 **** // --------------------------------------------------------------------------- ! // wxlua.h - headers and tags for wxLua binding // // This file was generated by genwxbind.lua ! // Any changes made to this file may be lost when file is regenerated // --------------------------------------------------------------------------- --- 1,7 ---- // --------------------------------------------------------------------------- ! // wxlua.h - headers and wxLua types for wxLua binding // // This file was generated by genwxbind.lua ! // Any changes made to this file will be lost when the file is regenerated // --------------------------------------------------------------------------- |