diff options
author | Mike Pall <mike> | 2011-06-23 16:17:13 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-23 16:17:13 +0200 |
commit | f182559069ebcc205d1095b3624863bf87b1f362 (patch) | |
tree | 397cbd527271fe67873f58548faac7c0d3b44454 /doc | |
parent | 6691e72eb8ca4d4741699ae1999d2dad92d82260 (diff) | |
download | luajit-f182559069ebcc205d1095b3624863bf87b1f362.tar.gz luajit-f182559069ebcc205d1095b3624863bf87b1f362.tar.bz2 luajit-f182559069ebcc205d1095b3624863bf87b1f362.zip |
Misc. updates to docs.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ext_ffi_semantics.html | 16 | ||||
-rw-r--r-- | doc/install.html | 7 | ||||
-rw-r--r-- | doc/luajit.html | 2 | ||||
-rw-r--r-- | doc/status.html | 2 |
4 files changed, 17 insertions, 10 deletions
diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html index 56ea58b2..aff7e162 100644 --- a/doc/ext_ffi_semantics.html +++ b/doc/ext_ffi_semantics.html | |||
@@ -80,11 +80,10 @@ applications using the LuaJIT FFI for developers with a C or C++ | |||
80 | background. | 80 | background. |
81 | </p> | 81 | </p> |
82 | <p class="indent" style="color: #c00000;"> | 82 | <p class="indent" style="color: #c00000;"> |
83 | Please note: this is an early public release of the FFI library. This | 83 | Please note: this doesn't comprise the final specification for the FFI |
84 | does not comprise the final specification for the FFI semantics, yet. | 84 | semantics, yet. Some semantics may need to be changed, based on your |
85 | Some of the semantics may need to be changed, based on feedback from | 85 | feedback. Please <a href="contact.html">report</a> any problems you may |
86 | developers. Please <a href="contact.html">report</a> any problems you | 86 | encounter or any improvements you'd like to see — thank you! |
87 | may encounter or any improvements you'd like to see — thank you! | ||
88 | </p> | 87 | </p> |
89 | 88 | ||
90 | <h2 id="clang">C Language Support</h2> | 89 | <h2 id="clang">C Language Support</h2> |
@@ -990,8 +989,10 @@ value.</li> | |||
990 | <tt>__index</tt> tables.</li> | 989 | <tt>__index</tt> tables.</li> |
991 | <li>Accesses to external variables in C library namespaces.</li> | 990 | <li>Accesses to external variables in C library namespaces.</li> |
992 | <li><tt>tostring()</tt> for cdata types.</li> | 991 | <li><tt>tostring()</tt> for cdata types.</li> |
993 | <li>The following <a href="ext_ffi_api.html">ffi.* API</a> functions: | 992 | <li>Calls to the following <a href="ext_ffi_api.html">ffi.* API</a> |
994 | <tt>ffi.sizeof()</tt>, <tt>ffi.alignof()</tt>, <tt>ffi.offsetof()</tt>. | 993 | functions: <tt>cdef</tt>, <tt>load</tt>, <tt>typeof</tt>, |
994 | <tt>metatype</tt>, <tt>gc</tt>, <tt>sizeof</tt>, <tt>alignof</tt>, | ||
995 | <tt>offsetof</tt>, <tt>errno</tt>.</li> | ||
995 | </ul> | 996 | </ul> |
996 | <p> | 997 | <p> |
997 | Other missing features: | 998 | Other missing features: |
@@ -1000,7 +1001,6 @@ Other missing features: | |||
1000 | <li>Bit operations for 64 bit types.</li> | 1001 | <li>Bit operations for 64 bit types.</li> |
1001 | <li>Arithmetic for <tt>complex</tt> numbers.</li> | 1002 | <li>Arithmetic for <tt>complex</tt> numbers.</li> |
1002 | <li>Callbacks from C code to Lua functions.</li> | 1003 | <li>Callbacks from C code to Lua functions.</li> |
1003 | <li>Atomic handling of <tt>errno</tt>.</li> | ||
1004 | <li>Passing structs by value to vararg C functions.</li> | 1004 | <li>Passing structs by value to vararg C functions.</li> |
1005 | <li><a href="extensions.html#exceptions">C++ exception interoperability</a> | 1005 | <li><a href="extensions.html#exceptions">C++ exception interoperability</a> |
1006 | does not extend to C functions called via the FFI.</li> | 1006 | does not extend to C functions called via the FFI.</li> |
diff --git a/doc/install.html b/doc/install.html index 868a0c41..c1eb26c1 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -367,6 +367,13 @@ make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF" TARGET=arm | |||
367 | You can cross-compile for <b id="ios">iOS 3.0+</b> (iPhone/iPad) using the <a href="http://developer.apple.com/devcenter/ios/index.action"><span class="ext">»</span> iOS SDK</a>. | 367 | You can cross-compile for <b id="ios">iOS 3.0+</b> (iPhone/iPad) using the <a href="http://developer.apple.com/devcenter/ios/index.action"><span class="ext">»</span> iOS SDK</a>. |
368 | The environment variables need to match the iOS SDK version: | 368 | The environment variables need to match the iOS SDK version: |
369 | </p> | 369 | </p> |
370 | <p style="font-size: 8pt;"> | ||
371 | Note: <b>the JIT compiler is disabled for iOS</b>, because regular iOS Apps | ||
372 | are not allowed to generate code at runtime. You'll only get the performance | ||
373 | of the LuaJIT interpreter on iOS. This is still faster than plain Lua, but | ||
374 | much slower than the JIT compiler. Please complain to Apple, not me. | ||
375 | Or use Android. :-p | ||
376 | </p> | ||
370 | <pre class="code"> | 377 | <pre class="code"> |
371 | ISDK=/Developer/Platforms/iPhoneOS.platform/Developer | 378 | ISDK=/Developer/Platforms/iPhoneOS.platform/Developer |
372 | ISDKVER=iPhoneOS4.3.sdk | 379 | ISDKVER=iPhoneOS4.3.sdk |
diff --git a/doc/luajit.html b/doc/luajit.html index 7916b6c9..28ebff61 100644 --- a/doc/luajit.html +++ b/doc/luajit.html | |||
@@ -91,7 +91,7 @@ LuaJIT has been successfully used as a <b>scripting middleware</b> in | |||
91 | games, 3D modellers, numerical simulations, trading platforms and many | 91 | games, 3D modellers, numerical simulations, trading platforms and many |
92 | other specialty applications. It combines high flexibility with high | 92 | other specialty applications. It combines high flexibility with high |
93 | performance and an unmatched <b>low memory footprint</b>: less than | 93 | performance and an unmatched <b>low memory footprint</b>: less than |
94 | <b>120K</b> for the VM plus less than <b>80K</b> for the JIT compiler (on x86). | 94 | <b>125K</b> for the VM plus less than <b>85K</b> for the JIT compiler (on x86). |
95 | </p> | 95 | </p> |
96 | <p> | 96 | <p> |
97 | LuaJIT has been in continuous development since 2005. It's widely | 97 | LuaJIT has been in continuous development since 2005. It's widely |
diff --git a/doc/status.html b/doc/status.html index c8366488..d386e1aa 100644 --- a/doc/status.html +++ b/doc/status.html | |||
@@ -81,7 +81,7 @@ This is a list of the things you should know about the LuaJIT 2.0 beta test: | |||
81 | </p> | 81 | </p> |
82 | <ul> | 82 | <ul> |
83 | <li> | 83 | <li> |
84 | Obviously there will be many <b>bugs</b> in a VM which has been | 84 | Obviously there will be some <b>bugs</b> in a VM which has been |
85 | rewritten from the ground up. Please report your findings together with | 85 | rewritten from the ground up. Please report your findings together with |
86 | the circumstances needed to reproduce the bug. If possible, reduce the | 86 | the circumstances needed to reproduce the bug. If possible, reduce the |
87 | problem down to a simple test case.<br> | 87 | problem down to a simple test case.<br> |