Skip to content

Commit

Permalink
Fix LuaJIT API docs for LUAJIT_MODE_*.
Browse files Browse the repository at this point in the history
Thanks to sunfishgao.
  • Loading branch information
Mike Pall committed Jan 18, 2018
1 parent 430d9f8 commit c88602f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/ext_c_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ <h2 id="luaJIT_setmode"><tt>luaJIT_setmode(L, idx, mode)</tt>
</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>
Expand Down

0 comments on commit c88602f

Please sign in to comment.