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 32
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 8
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 13
build_array_method :fields
get_method(index) click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 19
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 24
build_array_method :get_methods
get_n_methods() click to toggle source
# File lib/ffi-gobject_introspection/i_struct_info.rb, line 16
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 36
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 28
def size
  Lib.g_struct_info_get_size @gobj
end