View Single Post
Old 06-17-2014, 09:39 AM   #58
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by hawhill View Post
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.

Last edited by knc1; 06-18-2014 at 10:21 AM.
knc1 is offline   Reply With Quote