lib/ffi/hunspell/hunspell.rb in ffi-hunspell-0.2.4 vs lib/ffi/hunspell/hunspell.rb in ffi-hunspell-0.2.5
- old
+ new
@@ -3,10 +3,11 @@
module FFI
module Hunspell
extend FFI::Library
- ffi_lib ['hunspell-1.2', 'hunspell-1.3']
+ ffi_lib ['hunspell-1.2', 'libhunspell-1.2.so.0',
+ 'hunspell-1.3', 'libhunspell-1.3.so.0']
attach_function :Hunspell_create, [:string, :string], :pointer
attach_function :Hunspell_create_key, [:string, :string, :string], :pointer
attach_function :Hunspell_destroy, [:pointer], :void
attach_function :Hunspell_spell, [:pointer, :string], :int