diff options
author | MTSranger <jsonchiu@gmail.com> | 2016-04-05 13:43:58 +0300 |
---|---|---|
committer | MTSranger <jsonchiu@gmail.com> | 2016-04-05 13:43:58 +0300 |
commit | fd44eeee5d2c7d187106ed0b01848cc193af67bc (patch) | |
tree | e032d0dee5f12fc35d1dfdf142e5fb6d8f56c08b | |
parent | 6ab76730aecc6fcaa4c2abf4b4b921c5bf0c902a (diff) |
Removed hard FFI dependency
Hard FFI dependency was re-introduced by commit:0d85da7a95fcc9385e30e989d89b996f4416137a
-rw-r--r-- | graphviz.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphviz.lua b/graphviz.lua index dc4dd42..8588f75 100644 --- a/graphviz.lua +++ b/graphviz.lua @@ -51,7 +51,7 @@ else end local unpack = unpack or table.unpack -- Lua52 compatibility -local NULL = (not jit) and ffi.C.NULL or nil -- LuaJIT compatibility +local NULL = (ffiOk and (not jit)) and ffi.C.NULL or nil -- LuaJIT compatibility -- Retrieve attribute data from a graphviz object. local function getAttribute(obj, name) |