lua-users home
lua-l archive

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


> the libraries I've been using were compiled for slightly different
> lua versions

There are no "slightly different Lua versions". Lua 5.0 and 5.1 are close
but not the same and probably not binary compatible; we only seek source
compatibility. Moreover, new Lua versions are very infrequent. Lua 5.1
was released in 2006; Lua 5.0 in 2003.

That being said, a luaL_checkversion could be useful in the future.
It has been proposed before:
	http://lua-users.org/lists/lua-l/2007-11/msg00265.html