Sha256: 7fb457b6767f45bce67a3963a2baa0cadc5e0c1df603020c284d0199ec3b543a

Contents?: true

Size: 340 Bytes

Versions: 6

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

require 'gir_ffi/error_type_info'

module GirFFI
  # Represents an error argument with the same interface as IArgumentInfo
  class ErrorArgumentInfo
    def direction
      :error
    end

    def argument_type
      @argument_type ||= ErrorTypeInfo.new
    end

    def name
      '_error'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gir_ffi-0.13.0 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.12.1 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.12.0 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.11.4 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.11.3 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.11.2 lib/gir_ffi/error_argument_info.rb