[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Finding the version
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 19 Aug 2001 21:45:24 -0300
>I don't know what the plan for Lua and library loading might be, but my
>libraries stash their name and version number in the _LIBS_LOADED
>global, if it exists.
Use the registry instead. The registry is an ordinary Lua table that is
always available. It was introduced in 4.0 just for this kind of application.
--lhf