mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
FFI: Clarify docs wrt. 'local ffi = ...' and the interactive prompt.
This commit is contained in:
parent
633b248109
commit
5439631460
@ -93,6 +93,11 @@ Please note this doesn't define an <tt>ffi</tt> variable in the table
|
|||||||
of globals — you really need to use the local variable. The
|
of globals — you really need to use the local variable. The
|
||||||
<tt>require</tt> function ensures the library is only loaded once.
|
<tt>require</tt> function ensures the library is only loaded once.
|
||||||
</p>
|
</p>
|
||||||
|
<p style="font-size: 8pt;">
|
||||||
|
Note: If you want to experiment with the FFI from the interactive prompt
|
||||||
|
of the command line executable, omit the <tt>local</tt>, as it doesn't
|
||||||
|
preserve local variables across lines.
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2 id="sleep">Accessing Standard System Functions</h2>
|
<h2 id="sleep">Accessing Standard System Functions</h2>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user