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
#==, 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
46
47
48
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 46
def argument_type
ITypeInfo.wrap(Lib.g_arg_info_get_type @gobj)
end
|
#caller_allocates? ⇒ Boolean
18
19
20
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 18
def caller_allocates?
Lib.g_arg_info_is_caller_allocates @gobj
end
|
#closure ⇒ Object
38
39
40
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 38
def closure
Lib.g_arg_info_get_closure @gobj
end
|
#destroy ⇒ Object
42
43
44
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 42
def destroy
Lib.g_arg_info_get_destroy @gobj
end
|
#direction ⇒ Object
6
7
8
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 6
def direction
Lib.g_arg_info_get_direction @gobj
end
|
#may_be_null? ⇒ Boolean
22
23
24
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 22
def may_be_null?
Lib.g_arg_info_may_be_null @gobj
end
|
#optional? ⇒ Boolean
14
15
16
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 14
def optional?
Lib.g_arg_info_is_optional @gobj
end
|
#ownership_transfer ⇒ Object
30
31
32
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 30
def ownership_transfer
Lib.g_arg_info_get_ownership_transfer @gobj
end
|
#return_value? ⇒ Boolean
10
11
12
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 10
def return_value?
Lib.g_arg_info_is_return_value @gobj
end
|
#scope ⇒ Object
34
35
36
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 34
def scope
Lib.g_arg_info_get_scope @gobj
end
|
#skip? ⇒ Boolean
26
27
28
|
# File 'lib/ffi-gobject_introspection/i_arg_info.rb', line 26
def skip?
Lib.g_arg_info_is_skip @gobj
end
|