[Date Prev][Date Next][Thread Prev][Thread Next]
- 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
>> 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.
"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."
- Benjamin Franklin