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...
|