Class: GObjectIntrospection::IArgInfo
Overview
Wraps a GIArgInfo struct. Represents an argument.
Instance Attribute Summary
Attributes inherited from IBaseInfo
#pointer
Instance Method Summary
collapse
#to_callback_ffi_type, #to_ffi_type
Methods inherited from IBaseInfo
#==, #attribute, build_array_method, build_finder_method, #container, #deprecated?, #info_type, #initialize, make_finalizer, #name, #namespace, #safe_namespace, #to_ptr, wrap
Instance Method Details
#argument_type ⇒ Object
48
49
50
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 48
def argument_type
@argument_type ||= ITypeInfo.wrap Lib.g_arg_info_get_type(self)
end
|
#caller_allocates? ⇒ Boolean
20
21
22
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 20
def caller_allocates?
Lib.g_arg_info_is_caller_allocates self
end
|
#closure ⇒ Object
40
41
42
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 40
def closure
Lib.g_arg_info_get_closure self
end
|
#destroy ⇒ Object
44
45
46
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 44
def destroy
Lib.g_arg_info_get_destroy self
end
|
#direction ⇒ Object
8
9
10
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 8
def direction
Lib.g_arg_info_get_direction self
end
|
#may_be_null? ⇒ Boolean
24
25
26
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 24
def may_be_null?
Lib.g_arg_info_may_be_null self
end
|
#optional? ⇒ Boolean
16
17
18
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 16
def optional?
Lib.g_arg_info_is_optional self
end
|
#ownership_transfer ⇒ Object
32
33
34
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 32
def ownership_transfer
Lib.g_arg_info_get_ownership_transfer self
end
|
#return_value? ⇒ Boolean
12
13
14
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 12
def return_value?
Lib.g_arg_info_is_return_value self
end
|
#scope ⇒ Object
36
37
38
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 36
def scope
Lib.g_arg_info_get_scope self
end
|
#skip? ⇒ Boolean
28
29
30
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 28
def skip?
Lib.g_arg_info_is_skip self
end
|