aboutsummaryrefslogtreecommitdiff
path: root/doc/ext_c_api.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ext_c_api.html')
-rw-r--r--doc/ext_c_api.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ext_c_api.html b/doc/ext_c_api.html
index ae8dbcbb..21dc1310 100644
--- a/doc/ext_c_api.html
+++ b/doc/ext_c_api.html
@@ -107,7 +107,7 @@ Turn the whole JIT compiler on or off or flush the whole cache of compiled code.
107This sets the mode for the function at the stack index <tt>idx</tt> or 107This sets the mode for the function at the stack index <tt>idx</tt> or
108the parent of the calling function (<tt>idx = 0</tt>). It either 108the parent of the calling function (<tt>idx = 0</tt>). It either
109enables JIT compilation for a function, disables it and flushes any 109enables JIT compilation for a function, disables it and flushes any
110already compiled code or only flushes already compiled code. This 110already compiled code, or only flushes already compiled code. This
111applies recursively to all sub-functions of the function with 111applies recursively to all sub-functions of the function with
112<tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with 112<tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with
113<tt>LUAJIT_MODE_ALLSUBFUNC</tt>. 113<tt>LUAJIT_MODE_ALLSUBFUNC</tt>.
@@ -126,7 +126,7 @@ traces which link to it.
126This mode defines a wrapper function for calls to C functions. If 126This mode defines a wrapper function for calls to C functions. If
127called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt> 127called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt>
128must be a <tt>lightuserdata</tt> object holding a pointer to the wrapper 128must be a <tt>lightuserdata</tt> object holding a pointer to the wrapper
129function. From now on all C functions are called through the wrapper 129function. From now on, all C functions are called through the wrapper
130function. If called with <tt>LUAJIT_MODE_OFF</tt> this mode is turned 130function. If called with <tt>LUAJIT_MODE_OFF</tt> this mode is turned
131off and all C functions are directly called. 131off and all C functions are directly called.
132</p> 132</p>