diff options
Diffstat (limited to 'doc/ext_ffi_tutorial.html')
-rw-r--r-- | doc/ext_ffi_tutorial.html | 15 |
1 files changed, 5 insertions, 10 deletions
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; } | |||
17 | </head> | 17 | </head> |
18 | <body> | 18 | <body> |
19 | <div id="site"> | 19 | <div id="site"> |
20 | <a href="http://luajit.org"><span>Lua<span id="logo">JIT</span></span></a> | 20 | <a href="https://luajit.org"><span>Lua<span id="logo">JIT</span></span></a> |
21 | </div> | 21 | </div> |
22 | <div id="head"> | 22 | <div id="head"> |
23 | <h1>FFI Tutorial</h1> | 23 | <h1>FFI Tutorial</h1> |
@@ -26,7 +26,7 @@ td.idiomlua b { font-weight: normal; color: #2142bf; } | |||
26 | <ul><li> | 26 | <ul><li> |
27 | <a href="luajit.html">LuaJIT</a> | 27 | <a href="luajit.html">LuaJIT</a> |
28 | <ul><li> | 28 | <ul><li> |
29 | <a href="http://luajit.org/download.html">Download <span class="ext">»</span></a> | 29 | <a href="https://luajit.org/download.html">Download <span class="ext">»</span></a> |
30 | </li><li> | 30 | </li><li> |
31 | <a href="install.html">Installation</a> | 31 | <a href="install.html">Installation</a> |
32 | </li><li> | 32 | </li><li> |
@@ -50,17 +50,12 @@ td.idiomlua b { font-weight: normal; color: #2142bf; } | |||
50 | </li></ul> | 50 | </li></ul> |
51 | </li><li> | 51 | </li><li> |
52 | <a href="status.html">Status</a> | 52 | <a href="status.html">Status</a> |
53 | <ul><li> | ||
54 | <a href="changes.html">Changes</a> | ||
55 | </li></ul> | ||
56 | </li><li> | 53 | </li><li> |
57 | <a href="faq.html">FAQ</a> | 54 | <a href="faq.html">FAQ</a> |
58 | </li><li> | 55 | </li><li> |
59 | <a href="http://luajit.org/performance.html">Performance <span class="ext">»</span></a> | ||
60 | </li><li> | ||
61 | <a href="http://wiki.luajit.org/">Wiki <span class="ext">»</span></a> | 56 | <a href="http://wiki.luajit.org/">Wiki <span class="ext">»</span></a> |
62 | </li><li> | 57 | </li><li> |
63 | <a href="http://luajit.org/list.html">Mailing List <span class="ext">»</span></a> | 58 | <a href="https://luajit.org/list.html">Mailing List <span class="ext">»</span></a> |
64 | </li></ul> | 59 | </li></ul> |
65 | </div> | 60 | </div> |
66 | <div id="main"> | 61 | <div id="main"> |
@@ -219,7 +214,7 @@ a fascinating best-selling game is left as an exercise for the reader. | |||
219 | <h2 id="zlib">Accessing the zlib Compression Library</h2> | 214 | <h2 id="zlib">Accessing the zlib Compression Library</h2> |
220 | <p> | 215 | <p> |
221 | The following code shows how to access the <a | 216 | The following code shows how to access the <a |
222 | href="http://zlib.net/">zlib</a> compression library from Lua code. | 217 | href="https://zlib.net/">zlib</a> compression library from Lua code. |
223 | We'll define two convenience wrapper functions that take a string and | 218 | We'll define two convenience wrapper functions that take a string and |
224 | compress or uncompress it to another string: | 219 | compress or uncompress it to another string: |
225 | </p> | 220 | </p> |
@@ -302,7 +297,7 @@ comes pre-installed. Since <tt>ffi.load()</tt> automatically adds any | |||
302 | missing standard prefixes/suffixes, we can simply load the | 297 | missing standard prefixes/suffixes, we can simply load the |
303 | <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 |
304 | you'll have to download it first from the | 299 | you'll have to download it first from the |
305 | <a href="http://zlib.net/"><span class="ext">»</span> zlib site</a>. The check for | 300 | <a href="https://zlib.net/">zlib site</a>. The check for |
306 | <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 |
307 | <tt>ffi.load()</tt>. | 302 | <tt>ffi.load()</tt>. |
308 | </p> | 303 | </p> |