Class: GirFFI::ErrorArgumentInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi/error_argument_info.rb

Overview

Represents an error argument with the same interface as IArgumentInfo

Instance Method Summary collapse

Instance Method Details

#argument_typeObject



14
15
16
# File 'lib/gir_ffi/error_argument_info.rb', line 14

def argument_type
  @argument_type ||= ErrorTypeInfo.new
end

#caller_allocates?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/gir_ffi/error_argument_info.rb', line 30

def caller_allocates?
  true
end

#closureObject



22
23
24
# File 'lib/gir_ffi/error_argument_info.rb', line 22

def closure
  -1
end

#destroyObject



26
27
28
# File 'lib/gir_ffi/error_argument_info.rb', line 26

def destroy
  -1
end

#directionObject



10
11
12
# File 'lib/gir_ffi/error_argument_info.rb', line 10

def direction
  :error
end

#nameObject



18
19
20
# File 'lib/gir_ffi/error_argument_info.rb', line 18

def name
  '_error'
end

#skip?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/gir_ffi/error_argument_info.rb', line 6

def skip?
  false
end