From bd907032e3b93651f2b969cbc04477bba40faee8 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 26 Jan 2020 15:37:33 +0100 Subject: Documentation cleanup. --- doc/ext_ffi_tutorial.html | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'doc/ext_ffi_tutorial.html') diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html index 7ca14018..ae376b1f 100644 --- a/doc/ext_ffi_tutorial.html +++ b/doc/ext_ffi_tutorial.html @@ -17,7 +17,7 @@ td.idiomlua b { font-weight: normal; color: #2142bf; }
-Lua +Lua
@@ -219,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:

@@ -302,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