Sha256: c091226b370d15748dba264b13fa0c0f3071d9eddff09bed655bbe58c768216f

Contents?: true

Size: 355 Bytes

Versions: 6

Compression:

Stored size: 355 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

6 entries across 6 versions & 1 rubygems

Version Path
gir_ffi-0.11.1 lib/ffi-glib/iconv.rb
gir_ffi-0.11.0 lib/ffi-glib/iconv.rb
gir_ffi-0.10.2 lib/ffi-glib/iconv.rb
gir_ffi-0.10.1 lib/ffi-glib/iconv.rb
gir_ffi-0.10.0 lib/ffi-glib/iconv.rb
gir_ffi-0.10.0.pre1 lib/ffi-glib/iconv.rb