]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix LuaJIT API docs for LUAJIT_MODE_*.
authorMike Pall <mike>
Thu, 18 Jan 2018 11:29:39 +0000 (12:29 +0100)
committerMike Pall <mike>
Thu, 18 Jan 2018 11:29:39 +0000 (12:29 +0100)
Thanks to sunfishgao.

doc/ext_c_api.html

index 041a722009c0ece636243a9f45a189348c97b9f1..4bb825149a1bb4f130eea1e477b41642b20a44c0 100644 (file)
@@ -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>