diff options
author | Mike Pall <mike> | 2017-03-30 12:43:21 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-03-30 12:45:14 +0200 |
commit | de97b9d52bbc42effeaf1180764053a912526873 (patch) | |
tree | bfc8e1bc405c8d97ee958eb9750eb23d6a636e3b /doc | |
parent | dc320ca70f2c5bb3977b82853bcee6dad2523d01 (diff) | |
download | luajit-de97b9d52bbc42effeaf1180764053a912526873.tar.gz luajit-de97b9d52bbc42effeaf1180764053a912526873.tar.bz2 luajit-de97b9d52bbc42effeaf1180764053a912526873.zip |
Add some more changes and extensions from Lua 5.2.
Contributed by François Perrad.
Diffstat (limited to '')
-rw-r--r-- | doc/extensions.html | 15 |
1 files changed, 15 insertions, 0 deletions
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.</li> | |||
312 | <li><tt>debug.getupvalue()</tt> and <tt>debug.setupvalue()</tt> handle | 312 | <li><tt>debug.getupvalue()</tt> and <tt>debug.setupvalue()</tt> handle |
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: | ||
316 | <tt>lua_upvalueid()</tt> | ||
317 | <tt>lua_upvaluejoin()</tt> | ||
318 | <tt>lua_loadx()</tt> | ||
319 | <tt>luaL_fileresult()</tt> | ||
320 | <tt>luaL_execresult()</tt> | ||
321 | <tt>luaL_loadfilex()</tt> | ||
322 | <tt>luaL_loadbufferx()</tt> | ||
323 | <tt>luaL_traceback()</tt> | ||
324 | <tt>luaL_setfuncs()</tt> | ||
325 | <tt>luaL_pushmodule()</tt> | ||
326 | <tt>luaL_newlibtable()</tt> | ||
327 | <tt>luaL_newlib()</tt> | ||
328 | </li> | ||
315 | <li>Command line option <tt>-E</tt>.</li> | 329 | <li>Command line option <tt>-E</tt>.</li> |
316 | <li>Command line checks <tt>__tostring</tt> for errors.</li> | 330 | <li>Command line checks <tt>__tostring</tt> for errors.</li> |
317 | </ul> | 331 | </ul> |
@@ -338,6 +352,7 @@ exit status.</li> | |||
338 | <li><tt>debug.getuservalue()</tt> and <tt>debug.setuservalue()</tt>.</li> | 352 | <li><tt>debug.getuservalue()</tt> and <tt>debug.setuservalue()</tt>.</li> |
339 | <li>Remove <tt>math.mod()</tt>, <tt>string.gfind()</tt>.</li> | 353 | <li>Remove <tt>math.mod()</tt>, <tt>string.gfind()</tt>.</li> |
340 | <li><tt>package.searchers</tt>.</li> | 354 | <li><tt>package.searchers</tt>.</li> |
355 | <li><tt>module()</tt> returns the module table.</li> | ||
341 | </ul> | 356 | </ul> |
342 | <p> | 357 | <p> |
343 | Note: this provides only partial compatibility with Lua 5.2 at the | 358 | Note: this provides only partial compatibility with Lua 5.2 at the |