[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Version
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 10 Jul 2002 11:29:36 -0300
>In lua.h, there is a define LUA_VERSION, which represents the string
>version name of Lua. It would be handy if there were also a purely
>numeric version define in lua.h, so I could use conditional code in
>my application based on what version of lua I point it at; obviously
If you really need conditional code, then you can use #ifdef LUA_TBOOLEAN
(and several others) to identify Lua 5.0.
--lhf