lua-users home
lua-l archive

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


On Sun, Nov 21, 2010 at 5:15 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> It's taken a while, partly because it took around 2 days to even get it to compile, what with the deprecated functions, removal of LUA_GLOBALSINDEX, luaL_typerror, lua_equal, lua_unref, lua_getref and a few others.
>
> Try #define LUA_COMPAT_ALL.
>
>> But the big issue is the crashes. Why are there crashes? Because of the DLLs
>
> There is no ABI compatibility between 5.1 and 5.2.
> All Lua libraries in C must be recompiled.

If that is not enough, maybe you can do something with proxying
lua5.1.dll calls to lua52.dll, with appropriate translation, thereby
avoiding recompilation.

http://lua-users.org/wiki/LuaProxyDll