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
47
48
49
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 47
def argument_type
ITypeInfo.wrap Lib.g_arg_info_get_type(@gobj)
end
|
#caller_allocates? ⇒ Boolean
19
20
21
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 19
def caller_allocates?
Lib.g_arg_info_is_caller_allocates @gobj
end
|
#closure ⇒ Object
39
40
41
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 39
def closure
Lib.g_arg_info_get_closure @gobj
end
|
#destroy ⇒ Object
43
44
45
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 43
def destroy
Lib.g_arg_info_get_destroy @gobj
end
|
#direction ⇒ Object
7
8
9
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 7
def direction
Lib.g_arg_info_get_direction @gobj
end
|
#may_be_null? ⇒ Boolean
23
24
25
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 23
def may_be_null?
Lib.g_arg_info_may_be_null @gobj
end
|
#optional? ⇒ Boolean
15
16
17
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 15
def optional?
Lib.g_arg_info_is_optional @gobj
end
|
#ownership_transfer ⇒ Object
31
32
33
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 31
def ownership_transfer
Lib.g_arg_info_get_ownership_transfer @gobj
end
|
#return_value? ⇒ Boolean
11
12
13
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 11
def return_value?
Lib.g_arg_info_is_return_value @gobj
end
|
#scope ⇒ Object
35
36
37
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 35
def scope
Lib.g_arg_info_get_scope @gobj
end
|
#skip? ⇒ Boolean
27
28
29
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 27
def skip?
Lib.g_arg_info_is_skip @gobj
end
|