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 e979ffea..aab9c234 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> |
@@ -52,17 +52,12 @@ td.idiomlua b { font-weight: normal; color: #2142bf; } | |||
52 | </li></ul> | 52 | </li></ul> |
53 | </li><li> | 53 | </li><li> |
54 | <a href="status.html">Status</a> | 54 | <a href="status.html">Status</a> |
55 | <ul><li> | ||
56 | <a href="changes.html">Changes</a> | ||
57 | </li></ul> | ||
58 | </li><li> | 55 | </li><li> |
59 | <a href="faq.html">FAQ</a> | 56 | <a href="faq.html">FAQ</a> |
60 | </li><li> | 57 | </li><li> |
61 | <a href="http://luajit.org/performance.html">Performance <span class="ext">»</span></a> | ||
62 | </li><li> | ||
63 | <a href="http://wiki.luajit.org/">Wiki <span class="ext">»</span></a> | 58 | <a href="http://wiki.luajit.org/">Wiki <span class="ext">»</span></a> |
64 | </li><li> | 59 | </li><li> |
65 | <a href="http://luajit.org/list.html">Mailing List <span class="ext">»</span></a> | 60 | <a href="https://luajit.org/list.html">Mailing List <span class="ext">»</span></a> |
66 | </li></ul> | 61 | </li></ul> |
67 | </div> | 62 | </div> |
68 | <div id="main"> | 63 | <div id="main"> |
@@ -221,7 +216,7 @@ a fascinating best-selling game is left as an exercise for the reader. | |||
221 | <h2 id="zlib">Accessing the zlib Compression Library</h2> | 216 | <h2 id="zlib">Accessing the zlib Compression Library</h2> |
222 | <p> | 217 | <p> |
223 | The following code shows how to access the <a | 218 | The following code shows how to access the <a |
224 | href="http://zlib.net/">zlib</a> compression library from Lua code. | 219 | href="https://zlib.net/">zlib</a> compression library from Lua code. |
225 | We'll define two convenience wrapper functions that take a string and | 220 | We'll define two convenience wrapper functions that take a string and |
226 | compress or uncompress it to another string: | 221 | compress or uncompress it to another string: |
227 | </p> | 222 | </p> |
@@ -304,7 +299,7 @@ comes pre-installed. Since <tt>ffi.load()</tt> automatically adds any | |||
304 | missing standard prefixes/suffixes, we can simply load the | 299 | missing standard prefixes/suffixes, we can simply load the |
305 | <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 |
306 | you'll have to download it first from the | 301 | you'll have to download it first from the |
307 | <a href="http://zlib.net/"><span class="ext">»</span> zlib site</a>. The check for | 302 | <a href="https://zlib.net/">zlib site</a>. The check for |
308 | <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 |
309 | <tt>ffi.load()</tt>. | 304 | <tt>ffi.load()</tt>. |
310 | </p> | 305 | </p> |