diff options
| author | Mike Pall <mike> | 2017-04-07 12:57:25 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2017-04-07 12:57:25 +0200 |
| commit | cced1786b979e4f4a3f672d455f9011c10865af9 (patch) | |
| tree | 8219ded65741ede8397766c8c4b772c5804e53fe | |
| parent | de26f76e2ec1989713a0353366de64adfc6ee111 (diff) | |
| download | luajit-cced1786b979e4f4a3f672d455f9011c10865af9.tar.gz luajit-cced1786b979e4f4a3f672d455f9011c10865af9.tar.bz2 luajit-cced1786b979e4f4a3f672d455f9011c10865af9.zip | |
Document added C API extensions from Lua 5.2/5.3.
| -rw-r--r-- | doc/extensions.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/extensions.html b/doc/extensions.html index 93432953..d7cc9693 100644 --- a/doc/extensions.html +++ b/doc/extensions.html | |||
| @@ -313,9 +313,13 @@ indexes for varargs.</li> | |||
| 313 | C functions.</li> | 313 | C functions.</li> |
| 314 | <li><tt>debug.upvalueid()</tt> and <tt>debug.upvaluejoin()</tt>.</li> | 314 | <li><tt>debug.upvalueid()</tt> and <tt>debug.upvaluejoin()</tt>.</li> |
| 315 | <li>Lua/C API extensions: | 315 | <li>Lua/C API extensions: |
| 316 | <tt>lua_version()</tt> | ||
| 316 | <tt>lua_upvalueid()</tt> | 317 | <tt>lua_upvalueid()</tt> |
| 317 | <tt>lua_upvaluejoin()</tt> | 318 | <tt>lua_upvaluejoin()</tt> |
| 318 | <tt>lua_loadx()</tt> | 319 | <tt>lua_loadx()</tt> |
| 320 | <tt>lua_copy()</tt> | ||
| 321 | <tt>lua_tonumberx()</tt> | ||
| 322 | <tt>lua_tointegerx()</tt> | ||
| 319 | <tt>luaL_fileresult()</tt> | 323 | <tt>luaL_fileresult()</tt> |
| 320 | <tt>luaL_execresult()</tt> | 324 | <tt>luaL_execresult()</tt> |
| 321 | <tt>luaL_loadfilex()</tt> | 325 | <tt>luaL_loadfilex()</tt> |
| @@ -325,6 +329,8 @@ C functions.</li> | |||
| 325 | <tt>luaL_pushmodule()</tt> | 329 | <tt>luaL_pushmodule()</tt> |
| 326 | <tt>luaL_newlibtable()</tt> | 330 | <tt>luaL_newlibtable()</tt> |
| 327 | <tt>luaL_newlib()</tt> | 331 | <tt>luaL_newlib()</tt> |
| 332 | <tt>luaL_testudata()</tt> | ||
| 333 | <tt>luaL_setmetatable()</tt> | ||
| 328 | </li> | 334 | </li> |
| 329 | <li>Command line option <tt>-E</tt>.</li> | 335 | <li>Command line option <tt>-E</tt>.</li> |
| 330 | <li>Command line checks <tt>__tostring</tt> for errors.</li> | 336 | <li>Command line checks <tt>__tostring</tt> for errors.</li> |
| @@ -370,6 +376,9 @@ LuaJIT supports some extensions from Lua 5.3: | |||
| 370 | <li><tt>io.read()</tt> and <tt>file:read()</tt> accept formats with or without a leading <tt>*</tt>.</li> | 376 | <li><tt>io.read()</tt> and <tt>file:read()</tt> accept formats with or without a leading <tt>*</tt>.</li> |
| 371 | <li><tt>table.move(a1, f, e, t [,a2])</tt>.</li> | 377 | <li><tt>table.move(a1, f, e, t [,a2])</tt>.</li> |
| 372 | <li><tt>coroutine.isyieldable()</tt>.</li> | 378 | <li><tt>coroutine.isyieldable()</tt>.</li> |
| 379 | <li>Lua/C API extensions: | ||
| 380 | <tt>lua_isyieldable()</tt> | ||
| 381 | </li> | ||
| 373 | </ul> | 382 | </ul> |
| 374 | 383 | ||
| 375 | <h2 id="exceptions">C++ Exception Interoperability</h2> | 384 | <h2 id="exceptions">C++ Exception Interoperability</h2> |
