-- works with luajit ffi or https://github.com/q66/cffi-lua local ok, ffi = pcall(require, "ffi") if not ok then ffi = require "cffi" end return ffi