Skip to content

Commit

Permalink
Update kiwi.lua to support future C API module
Browse files Browse the repository at this point in the history
  • Loading branch information
jkl1337 committed Feb 21, 2024
1 parent cf2ceff commit 0374fb5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions kiwi.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
local kiwi = {}
local has_ffi, ffi = pcall(require, "ffi")
if not has_ffi then
return require("ckiwi")
end

local ffi = require("ffi")
local kiwi = {}

local ckiwi
do
Expand Down

0 comments on commit 0374fb5

Please sign in to comment.