[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_setlevel not documented
- From: David Manura <dm.lua@...>
- Date: Thu, 17 Jul 2008 04:14:47 +0000 (UTC)
Luiz Henrique de Figueiredo writes:
> > lbaselib.c calls lua_setlevel, which is part of the Lua public API,
> > but is not metioned in http://www.lua.org/manual/5.1/manual.html - is
> > this deliberate?
> Yes. lua.h says it's a hack... It will be removed in Lua 5.2.
To generate a list of API symbols used...
cat *lib.c | grep -oe 'lua_[0-9a-zA-Z_]\+' | sort -u
which brings up a few more:
both of which are simply defines in lua.h. Other lua_* symbols are in luaconf.h
(e.g. lua_stdin_is_tty), but these seem to all be used internally.