[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Automatic luaVM compatibility test when loading libraries?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 10 May 2008 00:08:50 -0300
> 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