Sha256: 3d6e7661d0c631ec37635c1c63a4de13e6376812be83665e83e51bd2b5ff69ca

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

require 'gir_ffi/error_type_info'

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

    def argument_type
      @argument_type ||= ErrorTypeInfo.new
    end

    def name
      '_error'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.14.1 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.14.0 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.13.1 lib/gir_ffi/error_argument_info.rb