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/contact.html | 4 ++-- doc/ext_ffi_api.html | 2 +- doc/ext_ffi_semantics.html | 4 ++-- doc/ext_ffi_tutorial.html | 4 ++-- doc/extensions.html | 8 ++++---- doc/faq.html | 22 +++++++++++----------- doc/install.html | 6 +++--- doc/luajit.html | 4 ++-- doc/running.html | 2 +- 9 files changed, 28 insertions(+), 28 deletions(-) (limited to 'doc') diff --git a/doc/contact.html b/doc/contact.html index b5e390a7..3940feed 100644 --- a/doc/contact.html +++ b/doc/contact.html @@ -55,11 +55,11 @@

If you want to report bugs, propose fixes or suggest enhancements, please use the -GitHub issue tracker. +» GitHub issue tracker.

Please send general questions to the -LuaJIT mailing list. +» LuaJIT mailing list.

You can also send any questions you have directly to me: diff --git a/doc/ext_ffi_api.html b/doc/ext_ffi_api.html index 9772aa5d..5683289a 100644 --- a/doc/ext_ffi_api.html +++ b/doc/ext_ffi_api.html @@ -253,7 +253,7 @@ contents of an __index table (if any) may be modified afterwards. The associated metatable automatically applies to all uses of this type, no matter how the objects are created or where they originate from. Note that pre-defined operations on types have -precedence (e.g. declared field names cannot be overriden). +precedence (e.g. declared field names cannot be overridden).

All standard Lua metamethods are implemented. These are called directly, diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html index ce6313d7..c95407b7 100644 --- a/doc/ext_ffi_semantics.html +++ b/doc/ext_ffi_semantics.html @@ -668,7 +668,7 @@ through unions is explicitly detected and allowed. constructor. This is equivalent to ffi.new(ct, ...), unless a __new metamethod is defined. The __new metamethod is called with the ctype object -plus any other arguments passed to the contructor. Note that you have to +plus any other arguments passed to the constructor. Note that you have to use ffi.new inside of it, since calling ct(...) would cause infinite recursion. @@ -838,7 +838,7 @@ place of a type, you'd need to use ffi.typeof("int") instead.

The main use for parameterized types are libraries implementing abstract data types -(example), +(» example), similar to what can be achieved with C++ template metaprogramming. Another use case are derived types of anonymous structs, which avoids pollution of the global struct namespace. 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().

diff --git a/doc/extensions.html b/doc/extensions.html index 0fc65330..9d37cf0e 100644 --- a/doc/extensions.html +++ b/doc/extensions.html @@ -71,9 +71,9 @@ td.excinterop {

LuaJIT is fully upwards-compatible with Lua 5.1. It supports all -standard Lua +» standard Lua library functions and the full set of -Lua/C API +» Lua/C API functions.

@@ -97,7 +97,7 @@ LuaJIT comes with several built-in extension modules:

bit.* — Bitwise operations

LuaJIT supports all bitwise operations as defined by -Lua BitOp: +» Lua BitOp:

 bit.tobit  bit.tohex  bit.bnot    bit.band bit.bor  bit.bxor
@@ -106,7 +106,7 @@ bit.lshift bit.rshift bit.arshift bit.rol  bit.ror  bit.bswap
 

This module is a LuaJIT built-in — you don't need to download or install Lua BitOp. The Lua BitOp site has full documentation for all -Lua BitOp API functions. +» Lua BitOp API functions.

Please make sure to require the module before using any of diff --git a/doc/faq.html b/doc/faq.html index 65b0d842..a7144670 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -59,16 +59,16 @@ dd { margin-left: 1.5em; }

Q: Where can I learn more about LuaJIT and Lua?
@@ -97,7 +97,7 @@ Q: My vararg functions fail after switching to LuaJIT!
LuaJIT is compatible to the Lua 5.1 language standard. It doesn't support the implicit arg parameter for old-style vararg functions from Lua 5.0.
Please convert your code to the -Lua 5.1 +» Lua 5.1 vararg syntax.
@@ -154,7 +154,7 @@ don't report a bug about it. Check the mode parameter for the In general, the only promising approach is to sandbox Lua code at the process level and not the VM level.
-More reading material at the » Lua Wiki and Wikipedia. +More reading material at the » Lua Wiki and » Wikipedia. diff --git a/doc/install.html b/doc/install.html index 60665360..85ca9913 100644 --- a/doc/install.html +++ b/doc/install.html @@ -236,7 +236,7 @@ Obviously the prefixes given during build and installation need to be the same.

Either install one of the open source SDKs (» MinGW or -Cygwin), which come with a modified +» Cygwin), which come with a modified GCC plus the required development headers. Or install Microsoft's Visual Studio (MSVC).

@@ -358,7 +358,7 @@ make HOST_CC="gcc -m32" CROSS=mips-linux- make HOST_CC="gcc -m32" CROSS=mipsel-linux-

-You can cross-compile for Android using the Android NDK. +You can cross-compile for Android using the » Android NDK. Please adapt the environment variables to match the install locations and the desired target platform. E.g. Android 4.1 corresponds to ABI level 16.

@@ -488,7 +488,7 @@ Make sure the jit library is loaded or the JIT compiler will not be activated.
  • The bit.* module for bitwise operations is already built-in. There's no need to statically link -Lua BitOp to your application.
  • +» Lua BitOp to your application.

    Hints for Distribution Maintainers

    diff --git a/doc/luajit.html b/doc/luajit.html index c71831bb..f99aa022 100644 --- a/doc/luajit.html +++ b/doc/luajit.html @@ -139,13 +139,13 @@ table.feature small {

    LuaJIT is a Just-In-Time Compiler (JIT) for the -Lua programming language. +» Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.

    LuaJIT is Copyright © 2005-2020 Mike Pall, released under the -MIT open source license. +» MIT open source license.

    diff --git a/doc/running.html b/doc/running.html index a8c71af0..07fa0099 100644 --- a/doc/running.html +++ b/doc/running.html @@ -87,7 +87,7 @@ The luajit stand-alone executable is just a slightly modified version of the regular lua stand-alone executable. It supports the same basic options, too. luajit -h prints a short list of the available options. Please have a look at the -Lua manual +» Lua manual for details.

    -- cgit v1.2.3-55-g6feb