lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Mon, Jun 8, 2009 at 6:09 AM, Luiz Henrique de
Figueiredo<> 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