summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Pall <mike>2018-01-18 12:29:39 +0100
committerMike Pall <mike>2018-01-18 12:29:39 +0100
commitc88602f080dcafea6ba222a2f7cc1ea0e41ef3cc (patch)
tree8850d2414fc18a6741e04294fa0096d20f7cd512 /doc
parent430d9f8f7ebb779948dbd43944b876b1a3f58551 (diff)
downloadluajit2-c88602f080dcafea6ba222a2f7cc1ea0e41ef3cc.tar.gz
Fix LuaJIT API docs for LUAJIT_MODE_*.
Thanks to sunfishgao.
Diffstat (limited to 'doc')
-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 041a7220..4bb82514 100644
--- a/doc/ext_c_api.html
+++ b/doc/ext_c_api.html
@@ -89,8 +89,8 @@ other Lua/C API functions).
</p>
<p>
The third argument specifies the mode, which is 'or'ed with a flag.
-The flag can be <tt>LUAJIT_MODE_OFF</tt> to turn a feature on,
-<tt>LUAJIT_MODE_ON</tt> to turn a feature off, or
+The flag can be <tt>LUAJIT_MODE_OFF</tt> to turn a feature off,
+<tt>LUAJIT_MODE_ON</tt> to turn a feature on, or
<tt>LUAJIT_MODE_FLUSH</tt> to flush cached code.
</p>
<p>