diff options
| author | Mike Pall <mike> | 2020-10-12 16:18:02 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2020-10-12 16:18:02 +0200 |
| commit | 1d8b747c161db457e032a023ebbff511f5de5ec2 (patch) | |
| tree | 7254328c720b104f5d5b4bd8321cfcb18c6fb6ce /doc/ext_ffi_tutorial.html | |
| parent | 675e08cf069725a004284b4e1e67fbf0e8fcb4dd (diff) | |
| parent | 050466552bf7eb8b7944aa52c93b45326ae14d7a (diff) | |
| download | luajit-1d8b747c161db457e032a023ebbff511f5de5ec2.tar.gz luajit-1d8b747c161db457e032a023ebbff511f5de5ec2.tar.bz2 luajit-1d8b747c161db457e032a023ebbff511f5de5ec2.zip | |
Merge branch 'master' into v2.1
Diffstat (limited to 'doc/ext_ffi_tutorial.html')
| -rw-r--r-- | doc/ext_ffi_tutorial.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html index aab9c234..d06c11f1 100644 --- a/doc/ext_ffi_tutorial.html +++ b/doc/ext_ffi_tutorial.html | |||
| @@ -216,7 +216,7 @@ a fascinating best-selling game is left as an exercise for the reader. | |||
| 216 | <h2 id="zlib">Accessing the zlib Compression Library</h2> | 216 | <h2 id="zlib">Accessing the zlib Compression Library</h2> |
| 217 | <p> | 217 | <p> |
| 218 | The following code shows how to access the <a | 218 | The following code shows how to access the <a |
| 219 | href="https://zlib.net/">zlib</a> compression library from Lua code. | 219 | href="https://zlib.net/"><span class="ext">»</span> zlib</a> compression library from Lua code. |
| 220 | We'll define two convenience wrapper functions that take a string and | 220 | We'll define two convenience wrapper functions that take a string and |
| 221 | compress or uncompress it to another string: | 221 | compress or uncompress it to another string: |
| 222 | </p> | 222 | </p> |
| @@ -299,7 +299,7 @@ comes pre-installed. Since <tt>ffi.load()</tt> automatically adds any | |||
| 299 | missing standard prefixes/suffixes, we can simply load the | 299 | missing standard prefixes/suffixes, we can simply load the |
| 300 | <tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and | 300 | <tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and |
| 301 | you'll have to download it first from the | 301 | you'll have to download it first from the |
| 302 | <a href="https://zlib.net/">zlib site</a>. The check for | 302 | <a href="https://zlib.net/"><span class="ext">»</span> zlib site</a>. The check for |
| 303 | <tt>ffi.os</tt> makes sure we pass the right name to | 303 | <tt>ffi.os</tt> makes sure we pass the right name to |
| 304 | <tt>ffi.load()</tt>. | 304 | <tt>ffi.load()</tt>. |
| 305 | </p> | 305 | </p> |
