Skip to content

Commit

Permalink
Document added C API extensions from Lua 5.2/5.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pall committed Apr 7, 2017
1 parent de26f76 commit cced178
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,13 @@ <h2 id="lua52">Extensions from Lua 5.2</h2>
C&nbsp;functions.</li>
<li><tt>debug.upvalueid()</tt> and <tt>debug.upvaluejoin()</tt>.</li>
<li>Lua/C API extensions:
<tt>lua_version()</tt>
<tt>lua_upvalueid()</tt>
<tt>lua_upvaluejoin()</tt>
<tt>lua_loadx()</tt>
<tt>lua_copy()</tt>
<tt>lua_tonumberx()</tt>
<tt>lua_tointegerx()</tt>
<tt>luaL_fileresult()</tt>
<tt>luaL_execresult()</tt>
<tt>luaL_loadfilex()</tt>
Expand All @@ -325,6 +329,8 @@ <h2 id="lua52">Extensions from Lua 5.2</h2>
<tt>luaL_pushmodule()</tt>
<tt>luaL_newlibtable()</tt>
<tt>luaL_newlib()</tt>
<tt>luaL_testudata()</tt>
<tt>luaL_setmetatable()</tt>
</li>
<li>Command line option <tt>-E</tt>.</li>
<li>Command line checks <tt>__tostring</tt> for errors.</li>
Expand Down Expand Up @@ -370,6 +376,9 @@ <h2 id="lua53">Extensions from Lua 5.3</h2>
<li><tt>io.read()</tt> and <tt>file:read()</tt> accept formats with or without a leading <tt>*</tt>.</li>
<li><tt>table.move(a1, f, e, t [,a2])</tt>.</li>
<li><tt>coroutine.isyieldable()</tt>.</li>
<li>Lua/C API extensions:
<tt>lua_isyieldable()</tt>
</li>
</ul>

<h2 id="exceptions">C++ Exception Interoperability</h2>
Expand Down

0 comments on commit cced178

Please sign in to comment.