From cced1786b979e4f4a3f672d455f9011c10865af9 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 7 Apr 2017 12:57:25 +0200 Subject: [PATCH] Document added C API extensions from Lua 5.2/5.3. --- doc/extensions.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/extensions.html b/doc/extensions.html index 9343295348..d7cc9693be 100644 --- a/doc/extensions.html +++ b/doc/extensions.html @@ -313,9 +313,13 @@

Extensions from Lua 5.2

C functions.
  • debug.upvalueid() and debug.upvaluejoin().
  • Lua/C API extensions: +lua_version() lua_upvalueid() lua_upvaluejoin() lua_loadx() +lua_copy() +lua_tonumberx() +lua_tointegerx() luaL_fileresult() luaL_execresult() luaL_loadfilex() @@ -325,6 +329,8 @@

    Extensions from Lua 5.2

    luaL_pushmodule() luaL_newlibtable() luaL_newlib() +luaL_testudata() +luaL_setmetatable()
  • Command line option -E.
  • Command line checks __tostring for errors.
  • @@ -370,6 +376,9 @@

    Extensions from Lua 5.3

  • io.read() and file:read() accept formats with or without a leading *.
  • table.move(a1, f, e, t [,a2]).
  • coroutine.isyieldable().
  • +
  • Lua/C API extensions: +lua_isyieldable() +
  • C++ Exception Interoperability