lib/ffi-icu/lib.rb in ffi-icu-0.5.1 vs lib/ffi-icu/lib.rb in ffi-icu-0.5.2
- old
+ new
@@ -498,7 +498,11 @@
attach_function :udatpg_getSkeleton, "udatpg_getSkeleton#{suffix}", [:pointer, :pointer, :int32_t, :pointer, :int32_t, :pointer], :int32_t
# tz
attach_function :ucal_setDefaultTimeZone, "ucal_setDefaultTimeZone#{suffix}", [:pointer, :pointer], :int32_t
attach_function :ucal_getDefaultTimeZone, "ucal_getDefaultTimeZone#{suffix}", [:pointer, :int32_t, :pointer], :int32_t
+ # ULocaleDisplayNames
+ attach_function :uldn_openForContext, "uldn_openForContext#{suffix}", [:string, :pointer, :int32_t, :pointer], :pointer
+ attach_function :uldn_localeDisplayName, "uldn_localeDisplayName#{suffix}", [:pointer, :string, :pointer, :int32_t, :pointer], :int32_t
+ attach_function :uldn_close, "uldn_close#{suffix}", [:pointer], :void
end # Lib
end # ICU