6 lines
150 B
Lua
6 lines
150 B
Lua
|
-- 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
|