From f182559069ebcc205d1095b3624863bf87b1f362 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 23 Jun 2011 16:17:13 +0200 Subject: [PATCH] Misc. updates to docs. --- doc/ext_ffi_semantics.html | 16 ++++++++-------- doc/install.html | 7 +++++++ doc/luajit.html | 2 +- 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++ background.

-Please note: this is an early public release of the FFI library. This -does not comprise the final specification for the FFI semantics, yet. -Some of the semantics may need to be changed, based on feedback from -developers. Please report any problems you -may encounter or any improvements you'd like to see — thank you! +Please note: this doesn't comprise the final specification for the FFI +semantics, yet. Some semantics may need to be changed, based on your +feedback. Please report any problems you may +encounter or any improvements you'd like to see — thank you!

C Language Support

@@ -990,8 +989,10 @@ value. __index tables.
  • Accesses to external variables in C library namespaces.
  • tostring() for cdata types.
  • -
  • The following ffi.* API functions: -ffi.sizeof(), ffi.alignof(), ffi.offsetof(). +
  • Calls to the following ffi.* API +functions: cdef, load, typeof, +metatype, gc, sizeof, alignof, +offsetof, errno.
  • Other missing features: @@ -1000,7 +1001,6 @@ Other missing features:

  • Bit operations for 64 bit types.
  • Arithmetic for complex numbers.
  • Callbacks from C code to Lua functions.
  • -
  • Atomic handling of errno.
  • Passing structs by value to vararg C functions.
  • C++ exception interoperability does not extend to C functions called via the FFI.
  • 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 You can cross-compile for iOS 3.0+ (iPhone/iPad) using the » iOS SDK. The environment variables need to match the iOS SDK version:

    +

    +Note: the JIT compiler is disabled for iOS, because regular iOS Apps +are not allowed to generate code at runtime. You'll only get the performance +of the LuaJIT interpreter on iOS. This is still faster than plain Lua, but +much slower than the JIT compiler. Please complain to Apple, not me. +Or use Android. :-p +

     ISDK=/Developer/Platforms/iPhoneOS.platform/Developer
     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 scripting middleware in
     games, 3D modellers, numerical simulations, trading platforms and many
     other specialty applications. It combines high flexibility with high
     performance and an unmatched low memory footprint: less than
    -120K for the VM plus less than 80K for the JIT compiler (on x86).
    +125K for the VM plus less than 85K for the JIT compiler (on x86).
     

    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: