From de97b9d52bbc42effeaf1180764053a912526873 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 30 Mar 2017 12:43:21 +0200 Subject: Add some more changes and extensions from Lua 5.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed by François Perrad. --- doc/extensions.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') diff --git a/doc/extensions.html b/doc/extensions.html index 87d4da24..93432953 100644 --- a/doc/extensions.html +++ b/doc/extensions.html @@ -312,6 +312,20 @@ indexes for varargs.
  • debug.getupvalue() and debug.setupvalue() handle C functions.
  • debug.upvalueid() and debug.upvaluejoin().
  • +
  • Lua/C API extensions: +lua_upvalueid() +lua_upvaluejoin() +lua_loadx() +luaL_fileresult() +luaL_execresult() +luaL_loadfilex() +luaL_loadbufferx() +luaL_traceback() +luaL_setfuncs() +luaL_pushmodule() +luaL_newlibtable() +luaL_newlib() +
  • Command line option -E.
  • Command line checks __tostring for errors.
  • @@ -338,6 +352,7 @@ exit status.
  • debug.getuservalue() and debug.setuservalue().
  • Remove math.mod(), string.gfind().
  • package.searchers.
  • +
  • module() returns the module table.
  • Note: this provides only partial compatibility with Lua 5.2 at the -- cgit v1.2.3-55-g6feb