Class: GObjectIntrospection::IArgInfo
- Inherits:
-
IBaseInfo
- Object
- IBaseInfo
- GObjectIntrospection::IArgInfo
show all
- Defined in:
- lib/ffi-gobject_introspection/i_arg_info.rb
Overview
Wraps a GIArgInfo struct. Represents an argument.
Instance Method Summary
collapse
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
ITypeInfo.wrap Lib.g_arg_info_get_type(@gobj)
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 @gobj
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 @gobj
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 @gobj
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 @gobj
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 @gobj
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 @gobj
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 @gobj
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 @gobj
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 @gobj
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 @gobj
end
|