lib/ffi-icu/lib.rb in ffi-icu-0.1.5 vs lib/ffi-icu/lib.rb in ffi-icu-0.1.6
- old
+ new
@@ -260,10 +260,10 @@
# http://icu-project.org/apiref/icu4c/ucsdet_8h.html
#
attach_function :ucsdet_open, "ucsdet_open#{suffix}", [:pointer], :pointer
attach_function :ucsdet_close, "ucsdet_close#{suffix}", [:pointer], :void
- attach_function :ucsdet_setText, "ucsdet_setText#{suffix}", [:pointer, :string, :int32_t, :pointer], :void
+ attach_function :ucsdet_setText, "ucsdet_setText#{suffix}", [:pointer, :pointer, :int32_t, :pointer], :void
attach_function :ucsdet_setDeclaredEncoding, "ucsdet_setDeclaredEncoding#{suffix}", [:pointer, :string, :int32_t, :pointer], :void
attach_function :ucsdet_detect, "ucsdet_detect#{suffix}", [:pointer, :pointer], :pointer
attach_function :ucsdet_detectAll, "ucsdet_detectAll#{suffix}", [:pointer, :pointer, :pointer], :pointer
attach_function :ucsdet_getName, "ucsdet_getName#{suffix}", [:pointer, :pointer], :string
attach_function :ucsdet_getConfidence, "ucsdet_getConfidence#{suffix}", [:pointer, :pointer], :int32_t