diff options
Diffstat (limited to 'doc/ext_c_api.html')
-rw-r--r-- | doc/ext_c_api.html | 4 |
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. | |||
103 | This sets the mode for the function at the stack index <tt>idx</tt> or | 103 | This sets the mode for the function at the stack index <tt>idx</tt> or |
104 | the parent of the calling function (<tt>idx = 0</tt>). It either | 104 | the parent of the calling function (<tt>idx = 0</tt>). It either |
105 | enables JIT compilation for a function, disables it and flushes any | 105 | enables JIT compilation for a function, disables it and flushes any |
106 | already compiled code or only flushes already compiled code. This | 106 | already compiled code, or only flushes already compiled code. This |
107 | applies recursively to all sub-functions of the function with | 107 | applies recursively to all sub-functions of the function with |
108 | <tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with | 108 | <tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with |
109 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. | 109 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. |
@@ -122,7 +122,7 @@ traces which link to it. | |||
122 | This mode defines a wrapper function for calls to C functions. If | 122 | This mode defines a wrapper function for calls to C functions. If |
123 | called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt> | 123 | called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt> |
124 | must be a <tt>lightuserdata</tt> object holding a pointer to the wrapper | 124 | must be a <tt>lightuserdata</tt> object holding a pointer to the wrapper |
125 | function. From now on all C functions are called through the wrapper | 125 | function. From now on, all C functions are called through the wrapper |
126 | function. If called with <tt>LUAJIT_MODE_OFF</tt> this mode is turned | 126 | function. If called with <tt>LUAJIT_MODE_OFF</tt> this mode is turned |
127 | off and all C functions are directly called. | 127 | off and all C functions are directly called. |
128 | </p> | 128 | </p> |