Sha256: 5f197d03d8a2690980b0e8d0163b65a06e7e5bea280836fb74e4cfa3ed40d239

Contents?: true

Size: 419 Bytes

Versions: 13

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

require "gir_ffi/info_ext/i_type_info"

module GirFFI
  # Represents the type of an error argument for callbacks and functions,
  # conforming, as needed, to the interface of GObjectIntrospection::ITypeInfo
  class ErrorTypeInfo
    include GirFFI::InfoExt::ITypeInfo

    def array_length
      -1
    end

    def tag
      :error
    end

    def pointer?
      true
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gir_ffi-0.17.0 lib/gir_ffi/error_type_info.rb
gir_ffi-0.16.1 lib/gir_ffi/error_type_info.rb
gir_ffi-0.16.0 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.9 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.8 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.7 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.6 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.5 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.4 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.3 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.2 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.1 lib/gir_ffi/error_type_info.rb
gir_ffi-0.15.0 lib/gir_ffi/error_type_info.rb