Sha256: 2e05dd508f322cdbf5977022923b78195e31e32cbe900676a6947a6a00f29460

Contents?: true

Size: 424 Bytes

Versions: 10

Compression:

Stored size: 424 Bytes

Contents

require 'gir_ffi/error_type_info'

module GirFFI
  # Represents an error argument with the same interface as IArgumentInfo
  class ErrorArgumentInfo
    def skip?
      false
    end

    def direction
      :error
    end

    def argument_type
      @argument_type ||= ErrorTypeInfo.new
    end

    def name
      '_error'
    end

    def closure
      -1
    end

    def caller_allocates?
      true
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gir_ffi-0.8.6 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.8.5 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.8.4 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.8.3 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.8.2 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.8.1 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.8.0 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.7.10 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.7.9 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.7.8 lib/gir_ffi/error_argument_info.rb