Sha256: 57b2a9cf63ea10db6398f8a15d8c0ddc4f2959cf0441d057bda3bd43a969dab7
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true GLib.load_class :IConv module GLib # Overrides for IConv class IConv def self.open(to_codeset, from_codeset) to_ptr = GirFFI::InPointer.from(:utf8, to_codeset) from_ptr = GirFFI::InPointer.from(:utf8, from_codeset) result_ptr = Lib.g_iconv_open(to_ptr, from_ptr) wrap(result_ptr) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.9.5 | lib/ffi-glib/iconv.rb |
gir_ffi-0.9.4 | lib/ffi-glib/iconv.rb |
gir_ffi-0.9.3 | lib/ffi-glib/iconv.rb |