summaryrefslogtreecommitdiff
path: root/doc/ext_c_api.html
diff options
context:
space:
mode:
authorMike Pall <mike>2022-06-23 09:10:09 +0200
committerMike Pall <mike>2022-06-23 09:10:09 +0200
commit2e98c3d0644fc0c265844908f43b7e4526dd819c (patch)
treeb9116c671f4268be7776696abdb189de4be5cf43 /doc/ext_c_api.html
parent7dc3850e78493eed1e85fa7bc0b96068ae7fb9f4 (diff)
downloadluajit2-2e98c3d0644fc0c265844908f43b7e4526dd819c.tar.gz
Grammar and spell check.
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 a5d02473..b328047a 100644
--- a/doc/ext_c_api.html
+++ b/doc/ext_c_api.html
@@ -103,7 +103,7 @@ Turn the whole JIT compiler on or off or flush the whole cache of compiled code.
This sets the mode for the function at the stack index <tt>idx</tt> or
the parent of the calling function (<tt>idx = 0</tt>). It either
enables JIT compilation for a function, disables it and flushes any
-already compiled code or only flushes already compiled code. This
+already compiled code, or only flushes already compiled code. This
applies recursively to all sub-functions of the function with
<tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with
<tt>LUAJIT_MODE_ALLSUBFUNC</tt>.
@@ -122,7 +122,7 @@ traces which link to it.
This mode defines a wrapper function for calls to C functions. If
called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt>
must be a <tt>lightuserdata</tt> object holding a pointer to the wrapper
-function. From now on all C functions are called through the wrapper
+function. From now on, all C functions are called through the wrapper
function. If called with <tt>LUAJIT_MODE_OFF</tt> this mode is turned
off and all C functions are directly called.
</p>