diff options
-rw-r--r-- | doc/api.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api.html b/doc/api.html index 1494d490..eee76afb 100644 --- a/doc/api.html +++ b/doc/api.html | |||
@@ -259,7 +259,7 @@ applies recursively to all sub-functions of the function with | |||
259 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. | 259 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. |
260 | </p> | 260 | </p> |
261 | 261 | ||
262 | <h3 id="mode_engine"><tt>luaJIT_setmode(L, trace,<br> | 262 | <h3 id="mode_trace"><tt>luaJIT_setmode(L, trace,<br> |
263 | LUAJIT_MODE_TRACE|LUAJIT_MODE_FLUSH)</tt></h3> | 263 | LUAJIT_MODE_TRACE|LUAJIT_MODE_FLUSH)</tt></h3> |
264 | <p> | 264 | <p> |
265 | Flushes the specified root trace and all of its side traces from the cache. | 265 | Flushes the specified root trace and all of its side traces from the cache. |
@@ -267,7 +267,7 @@ The code for the trace will be retained as long as there are any other | |||
267 | traces which link to it. | 267 | traces which link to it. |
268 | </p> | 268 | </p> |
269 | 269 | ||
270 | <h3 id="mode_engine"><tt>luaJIT_setmode(L, idx, LUAJIT_MODE_WRAPCFUNC|flag)</tt></h3> | 270 | <h3 id="mode_wrapcfunc"><tt>luaJIT_setmode(L, idx, LUAJIT_MODE_WRAPCFUNC|flag)</tt></h3> |
271 | <p> | 271 | <p> |
272 | This mode defines a wrapper function for calls to C functions. If | 272 | This mode defines a wrapper function for calls to C functions. If |
273 | called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt> | 273 | called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt> |