lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jun 23, 2011 at 1:49 AM, liam mail <liam.list@googlemail.com> wrote:
> These are the changes I have seen.
> Lua 5.1 API incompatibility with Lua 5.2 beta rc-2
> ==Removed==
> LUA_GLOBALSINDEX
> LUA_ENVIRONINDEX
> lua_getfenv
> lua_setfenv
> luaL_typerror
> luaL_putchar
> lua_yield
> ==Compat removed ==
> luaI_openlib
> luaL_getn
> luaL_setn
> lua_ref
> lua_unref
> lua_getref
> lua_open
> lua_getregistry
> lua_getgccount
> lua_Chunkreader
> lua_Chunkwriter
> luaL_reg
> ==Requires LUA_COMPAT_ALL==
> lua_cpcall
> lua_strlen
> lua_objlen
> lua_equal
> lua_lessthan
> ==Signature changed==
> lua_pushlstring
> lua_pushstring
> ==Structure changed==
> luaL_Buffer
> lua_Debug

Thanks.  This list is very helpful.

A minor adjustment:   luaL_pushmodule, luaL_openlib and luaL_register
are available with -DLUA_COMPAT_MODULE

Phil