aboutsummaryrefslogtreecommitdiff
path: root/doc/ext_ffi_tutorial.html
diff options
context:
space:
mode:
authorMike Pall <mike>2020-10-12 16:18:02 +0200
committerMike Pall <mike>2020-10-12 16:18:02 +0200
commit1d8b747c161db457e032a023ebbff511f5de5ec2 (patch)
tree7254328c720b104f5d5b4bd8321cfcb18c6fb6ce /doc/ext_ffi_tutorial.html
parent675e08cf069725a004284b4e1e67fbf0e8fcb4dd (diff)
parent050466552bf7eb8b7944aa52c93b45326ae14d7a (diff)
downloadluajit-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.html4
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>
218The following code shows how to access the <a 218The following code shows how to access the <a
219href="https://zlib.net/">zlib</a> compression library from Lua code. 219href="https://zlib.net/"><span class="ext">&raquo;</span>&nbsp;zlib</a> compression library from Lua code.
220We'll define two convenience wrapper functions that take a string and 220We'll define two convenience wrapper functions that take a string and
221compress or uncompress it to another string: 221compress 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
299missing standard prefixes/suffixes, we can simply load the 299missing 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
301you'll have to download it first from the 301you'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">&raquo;</span>&nbsp;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>