diff options
| author | Mike Pall <mike> | 2022-06-23 09:10:43 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2022-06-23 09:10:43 +0200 |
| commit | 4c2441c16ce3c4e312aaefecc6d40c4fe21de97c (patch) | |
| tree | 0ee5ad7a3246f9a620265de9c6998308cb44a09b /doc/ext_c_api.html | |
| parent | 0065cff7e0222c234b75a71e72b8883df5d000c2 (diff) | |
| parent | 2e98c3d0644fc0c265844908f43b7e4526dd819c (diff) | |
| download | luajit-4c2441c16ce3c4e312aaefecc6d40c4fe21de97c.tar.gz luajit-4c2441c16ce3c4e312aaefecc6d40c4fe21de97c.tar.bz2 luajit-4c2441c16ce3c4e312aaefecc6d40c4fe21de97c.zip | |
Merge branch 'master' into v2.1
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 ae8dbcbb..21dc1310 100644 --- a/doc/ext_c_api.html +++ b/doc/ext_c_api.html | |||
| @@ -107,7 +107,7 @@ Turn the whole JIT compiler on or off or flush the whole cache of compiled code. | |||
| 107 | This sets the mode for the function at the stack index <tt>idx</tt> or | 107 | This sets the mode for the function at the stack index <tt>idx</tt> or |
| 108 | the parent of the calling function (<tt>idx = 0</tt>). It either | 108 | the parent of the calling function (<tt>idx = 0</tt>). It either |
| 109 | enables JIT compilation for a function, disables it and flushes any | 109 | enables JIT compilation for a function, disables it and flushes any |
| 110 | already compiled code or only flushes already compiled code. This | 110 | already compiled code, or only flushes already compiled code. This |
| 111 | applies recursively to all sub-functions of the function with | 111 | applies recursively to all sub-functions of the function with |
| 112 | <tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with | 112 | <tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with |
| 113 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. | 113 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. |
| @@ -126,7 +126,7 @@ traces which link to it. | |||
| 126 | This mode defines a wrapper function for calls to C functions. If | 126 | This mode defines a wrapper function for calls to C functions. If |
| 127 | called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt> | 127 | called with <tt>LUAJIT_MODE_ON</tt>, the stack index at <tt>idx</tt> |
| 128 | must be a <tt>lightuserdata</tt> object holding a pointer to the wrapper | 128 | must be a <tt>lightuserdata</tt> object holding a pointer to the wrapper |
| 129 | function. From now on all C functions are called through the wrapper | 129 | function. From now on, all C functions are called through the wrapper |
| 130 | function. If called with <tt>LUAJIT_MODE_OFF</tt> this mode is turned | 130 | function. If called with <tt>LUAJIT_MODE_OFF</tt> this mode is turned |
| 131 | off and all C functions are directly called. | 131 | off and all C functions are directly called. |
| 132 | </p> | 132 | </p> |
