lua-users home
lua-l archive

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


> How about in future libraries linking to an external symbol, "lua52",
> can be a dummy variable. The linker will thus fail if you try to link
> a lua51 library with a lua52 core.

This already happens because several symbols in Lua 5.1 are abssent in Lua 5.2
(but are supported via macros). For instance, luaL_register and lua_tonumber.