lua-users home
lua-l archive

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


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:

  lua_getgccount
  lua_strlen

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.