From: John L. <jr...@us...> - 2008-01-18 03:43:03
|
Update of /cvsroot/wxlua/wxLua/modules/lua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27192/wxLua/modules/lua/include Modified Files: lua.h luaconf.h Log Message: Update the Lua source to 5.1.3-rc1 Use <set var="VARS_DONT_ELIMINATE" append="1">THREADING</set> so it doesn't get stripped out by bakefile. Index: lua.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/lua/include/lua.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lua.h 25 Apr 2007 02:52:20 -0000 1.4 --- lua.h 18 Jan 2008 03:43:00 -0000 1.5 *************** *** 18,24 **** #define LUA_VERSION "Lua 5.1" ! #define LUA_RELEASE "Lua 5.1.2" #define LUA_VERSION_NUM 501 ! #define LUA_COPYRIGHT "Copyright (C) 1994-2007 Lua.org, PUC-Rio" #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" --- 18,24 ---- #define LUA_VERSION "Lua 5.1" ! #define LUA_RELEASE "Lua 5.1.3" #define LUA_VERSION_NUM 501 ! #define LUA_COPYRIGHT "Copyright (C) 1994-2008 Lua.org, PUC-Rio" #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" *************** *** 246,250 **** ! /* ** =============================================================== ** some useful macros --- 246,250 ---- ! /* ** =============================================================== ** some useful macros *************** *** 295,298 **** --- 295,301 ---- + /* hack */ + LUA_API void lua_setlevel (lua_State *from, lua_State *to); + /* *************** *** 360,364 **** /****************************************************************************** ! * Copyright (C) 1994-2007 Lua.org, PUC-Rio. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining --- 363,367 ---- /****************************************************************************** ! * Copyright (C) 1994-2008 Lua.org, PUC-Rio. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining Index: luaconf.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/lua/include/luaconf.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** luaconf.h 25 Apr 2007 02:52:20 -0000 1.3 --- luaconf.h 18 Jan 2008 03:43:00 -0000 1.4 *************** *** 443,447 **** ** functions to consume unlimited stack space. */ ! #define LUAI_MAXCSTACK 2048 --- 443,449 ---- ** functions to consume unlimited stack space. */ ! #define LUAI_MCS_AUX ((int)(INT_MAX / (4*sizeof(LUA_NUMBER)))) ! #define LUAI_MAXCSTACK (LUAI_MCS_AUX > SHRT_MAX ? SHRT_MAX : LUAI_MCS_AUX) ! |