Class: GObjectIntrospection::IUnionInfo
Overview
Wraps a GIUnionInfo struct. Represents a union.
Instance Method Summary
collapse
#g_type, #type_init, #type_name
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
#alignment ⇒ Object
31
32
33
|
# File 'lib/ffi-gobject_introspection/i_union_info.rb', line 31
def alignment
Lib.g_union_info_get_alignment @gobj
end
|
#field(index) ⇒ Object
8
9
10
|
# File 'lib/ffi-gobject_introspection/i_union_info.rb', line 8
def field(index)
IFieldInfo.wrap(Lib.g_union_info_get_field @gobj, index)
end
|
#find_method(name) ⇒ Object
25
26
27
|
# File 'lib/ffi-gobject_introspection/i_union_info.rb', line 25
def find_method(name)
IFunctionInfo.wrap(Lib.g_union_info_find_method @gobj, name)
end
|
#get_method(index) ⇒ Object
18
19
20
|
# File 'lib/ffi-gobject_introspection/i_union_info.rb', line 18
def get_method(index)
IFunctionInfo.wrap(Lib.g_union_info_get_method @gobj, index)
end
|
#get_n_methods ⇒ Object
15
16
17
|
# File 'lib/ffi-gobject_introspection/i_union_info.rb', line 15
def get_n_methods
Lib.g_union_info_get_n_methods @gobj
end
|
#n_fields ⇒ Object
5
6
7
|
# File 'lib/ffi-gobject_introspection/i_union_info.rb', line 5
def n_fields
Lib.g_union_info_get_n_fields @gobj
end
|
#size ⇒ Object
28
29
30
|
# File 'lib/ffi-gobject_introspection/i_union_info.rb', line 28
def size
Lib.g_union_info_get_size @gobj
end
|