Sha256: a5899d1fdf930cc40b2bff0cde694dd2b6e4503121f090b9ad20bb9d76344c6e

Contents?: true

Size: 424 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
gir_ffi-0.7.7 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.7.6 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.7.5 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.7.4 lib/gir_ffi/error_argument_info.rb