class GObjectIntrospection::IStructInfo

Wraps a GIStructInfo struct. Represents a struct.

Public Instance Methods

alignment() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 34
def alignment
  Lib.g_struct_info_get_alignment @gobj
end
field(index) click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 9
def field(index)
  IFieldInfo.wrap(Lib.g_struct_info_get_field @gobj, index)
end
fields() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 14
build_array_method :fields
get_method(index) click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 21
def get_method(index)
  IFunctionInfo.wrap(Lib.g_struct_info_get_method @gobj, index)
end
get_methods() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 26
build_array_method :get_methods
get_n_methods() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 17
def get_n_methods
  Lib.g_struct_info_get_n_methods @gobj
end
gtype_struct?() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 38
def gtype_struct?
  Lib.g_struct_info_is_gtype_struct @gobj
end
n_fields() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 5
def n_fields
  Lib.g_struct_info_get_n_fields @gobj
end
size() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 30
def size
  Lib.g_struct_info_get_size @gobj
end