lua-users home
lua-l archive

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

> It just seemed like an API function would be more appropriate than
> querying the _VERSION global.

Sure. We intend to add a lua_checkversion(L) API function in 5.2 that
will check that the Lua used to compile the client and the one used in
the Lua core linked to the app are the same, as was discussed here in
the past. If there is a version mismatch or if multiple Lua VMs are
detected, then an error will be raised.