Quote:
Originally Posted by hawhill
LuaJIT's FFI is jolly good fun, indeed :-) (we rely heavily on it in Koreader now - our distributions contain a plain LuaJIT binary, the Kobo version has a armhf one, the Kindle version is arm soft-float). Hm, now I'm asking myself it LuaJIT's FFI couldn't be massaged to support *both* calling conventions...
|
It does (at least the version-2.0.3 installed here does).
Ref:
http://luajit.org/changes.html see: Item #2
Ref:
http://luajit.org/ext_ffi_api.html see: status = ffi.abi(param) description.
Have not (yet) tested it myself.