From: John L. <jr...@us...> - 2007-07-17 03:30:28
|
Update of /cvsroot/wxlua/wxLua/docs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv13320/wxLua/docs Modified Files: changelog.txt wxlua.html Log Message: Include wxluasetup.h from within the bindings rather than from modules/wxbind/wxbinddefs.h so other's don't have to include it. Fix collecting userdata prematurely, track the userdata on the pointer Lua creates instead of the data itself. Index: wxlua.html =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/wxlua.html,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** wxlua.html 16 Jul 2007 19:34:29 -0000 1.30 --- wxlua.html 17 Jul 2007 03:30:22 -0000 1.31 *************** *** 3,26 **** <head> - - - - - - <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> [...8617 lines suppressed...] LuaPCall(int narg, int nresults)</li> <ul> <li>Uses lua_call to run a chunk on the stack, but sets things up for wxLua first.</li> ! <li>Returns Lua's error code LUA_ERRXXX or 0 on success</li> </ul> <li>The other functions are documented in <span style="font-style: italic;">wxLua/modules/wxlua/include/wxlstate.h</span>.</li> </ul> </body> </html> Index: changelog.txt =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/changelog.txt,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** changelog.txt 16 Jul 2007 19:34:29 -0000 1.41 --- changelog.txt 17 Jul 2007 03:30:22 -0000 1.42 *************** *** 9,12 **** --- 9,15 ---- - Allow bool = 1/0 and 1/0 = bool in wxlua_getboolean/integer/number. + - Fix bug in prematurely garbage collecting userdata. + The userdata was previously keyed on the pointer to the data instead + of a pointer to the Lua userdata that wraps the data. version 2.8.4.1 |