lib/magic/api.rb in magic-0.1.0 vs lib/magic/api.rb in magic-0.1.1
- old
+ new
@@ -6,10 +6,10 @@
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
- attach_function :magic_buffer, [:pointer, :pointer, :size_t], :pointer
+ attach_function :magic_buffer, [:pointer, :pointer, :uint], :pointer
attach_function :magic_error, [:pointer], :string
# attach_function :magic_setflags, [:pointer, :int], :int
attach_function :magic_load, [:pointer, :string], :int
# attach_function :magic_compile, [:pointer, :string], :int
# attach_function :magic_check, [:pointer, :string], :int