[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Library Versioning
- From: Diego Nehab <diego@...>
- Date: Mon, 3 Apr 2006 22:17:59 -0400 (EDT)
Hi,
You got it, even after I botched the explanation. :)
assert(_VERSION == "Lua 5.1", "this version requires 5.1")
This would make sure the library doesn't run in case the user manages to
compile it.
Why not like linux or MS and have:
luasocket-2.0-lua5.1.tar.gz
luasocket-2.0-lua5.2.tar.gz
luasocket-2.0-lua5.3.tar.gz
This is a very good idea. I am going to start doing this. Unless someone
else has a better idea.
Regards,
Diego.