Sha256: 7ce421d6a61cfa78f44c58727a8430877a9f6f0510bea360514e6759bb6dd912

Contents?: true

Size: 418 Bytes

Versions: 9

Compression:

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

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.11.1 lib/gir_ffi/error_type_info.rb
gir_ffi-0.11.0 lib/gir_ffi/error_type_info.rb
gir_ffi-0.10.2 lib/gir_ffi/error_type_info.rb
gir_ffi-0.10.1 lib/gir_ffi/error_type_info.rb
gir_ffi-0.10.0 lib/gir_ffi/error_type_info.rb
gir_ffi-0.10.0.pre1 lib/gir_ffi/error_type_info.rb
gir_ffi-0.9.5 lib/gir_ffi/error_type_info.rb
gir_ffi-0.9.4 lib/gir_ffi/error_type_info.rb
gir_ffi-0.9.3 lib/gir_ffi/error_type_info.rb