aboutsummaryrefslogtreecommitdiff
path: root/doc/ext_ffi_tutorial.html
diff options
context:
space:
mode:
authorMike Pall <mike>2020-10-12 16:11:32 +0200
committerMike Pall <mike>2020-10-12 16:11:32 +0200
commit050466552bf7eb8b7944aa52c93b45326ae14d7a (patch)
treef92ad9dd6963ffc3168ea46bed892894adcc7339 /doc/ext_ffi_tutorial.html
parent5c46f47736f7609be407c88d531ecd1689d40a79 (diff)
downloadluajit-050466552bf7eb8b7944aa52c93b45326ae14d7a.tar.gz
luajit-050466552bf7eb8b7944aa52c93b45326ae14d7a.tar.bz2
luajit-050466552bf7eb8b7944aa52c93b45326ae14d7a.zip
Minor changes and https-ify links.
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 ae376b1f..6ba76dc2 100644
--- a/doc/ext_ffi_tutorial.html
+++ b/doc/ext_ffi_tutorial.html
@@ -214,7 +214,7 @@ a fascinating best-selling game is left as an exercise for the reader.
214<h2 id="zlib">Accessing the zlib Compression Library</h2> 214<h2 id="zlib">Accessing the zlib Compression Library</h2>
215<p> 215<p>
216The following code shows how to access the <a 216The following code shows how to access the <a
217href="https://zlib.net/">zlib</a> compression library from Lua code. 217href="https://zlib.net/"><span class="ext">&raquo;</span>&nbsp;zlib</a> compression library from Lua code.
218We'll define two convenience wrapper functions that take a string and 218We'll define two convenience wrapper functions that take a string and
219compress or uncompress it to another string: 219compress or uncompress it to another string:
220</p> 220</p>
@@ -297,7 +297,7 @@ comes pre-installed. Since <tt>ffi.load()</tt> automatically adds any
297missing standard prefixes/suffixes, we can simply load the 297missing standard prefixes/suffixes, we can simply load the
298<tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and 298<tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and
299you'll have to download it first from the 299you'll have to download it first from the
300<a href="https://zlib.net/">zlib site</a>. The check for 300<a href="https://zlib.net/"><span class="ext">&raquo;</span>&nbsp;zlib site</a>. The check for
301<tt>ffi.os</tt> makes sure we pass the right name to 301<tt>ffi.os</tt> makes sure we pass the right name to
302<tt>ffi.load()</tt>. 302<tt>ffi.load()</tt>.
303</p> 303</p>