Sha256: 6d396927f9a3334166e6ed84d5687b1eca3aeb31aa62f15d71e9d49e0b71c519

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 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 destroy
      -1
    end

    def caller_allocates?
      true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.9.2 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.9.1 lib/gir_ffi/error_argument_info.rb
gir_ffi-0.9.0 lib/gir_ffi/error_argument_info.rb