From 050466552bf7eb8b7944aa52c93b45326ae14d7a Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 12 Oct 2020 16:11:32 +0200 Subject: Minor changes and https-ify links. --- doc/ext_ffi_tutorial.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/ext_ffi_tutorial.html') 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.

Accessing the zlib Compression Library

The following code shows how to access the zlib compression library from Lua code. +href="https://zlib.net/">» zlib compression library from Lua code. We'll define two convenience wrapper functions that take a string and compress or uncompress it to another string:

@@ -297,7 +297,7 @@ comes pre-installed. Since ffi.load() automatically adds any missing standard prefixes/suffixes, we can simply load the "z" library. On Windows it's named zlib1.dll and you'll have to download it first from the -zlib site. The check for +» zlib site. The check for ffi.os makes sure we pass the right name to ffi.load().

-- cgit v1.2.3-55-g6feb