lib/magic/api.rb in magic-0.2.2 vs lib/magic/api.rb in magic-0.2.3

- old
+ new

@@ -1,9 +1,12 @@ module Magic module Api #:nodoc: extend FFI::Library - ffi_lib "/opt/local/lib/libmagic.1.dylib", "libmagic.so.1", "libmagic.1.dylib", "magic1.dll" + ffi_lib ["/opt/local/lib/libmagic.1.dylib", + "libmagic.1.dylib", + "libmagic.so.1", + "magic1.dll"] attach_function :magic_open, [:int], :pointer attach_function :magic_close, [:pointer], :void attach_function :magic_file, [:pointer, :string], :pointer # attach_function :magic_descriptor, [:pointer, :int], :string