[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: API Version Query Function
- From: Patrick Donnelly <batrick@...>
- Date: Mon, 8 Jun 2009 06:11:46 -0600
On Mon, Jun 8, 2009 at 6:09 AM, Luiz Henrique de
Figueiredo<lhf@tecgraf.puc-rio.br> wrote:
>> Could we get a C API function that allows us to query Lua's version
>> without needing to open a Lua state. Something like:
>>
>> const char * lua_getversion (void);
>
> Why do you need to avoid opening a Lua state?
It's just really inconvenient and tedious (IMO) to open a state, the
Lua libraries, and then get the _VERSION global.
--
-Patrick Donnelly
"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."
- Benjamin Franklin