class GObjectIntrospection::ITypeInfo

Wraps a GITypeInfo struct. Represents type information, direction, transfer etc.

Public Instance Methods

array_fixed_size() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 26
def array_fixed_size
  Lib.g_type_info_get_array_fixed_size @gobj
end
array_length() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 22
def array_length
  Lib.g_type_info_get_array_length @gobj
end
array_type() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 30
def array_type
  Lib.g_type_info_get_array_type @gobj
end
interface() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 17
def interface
  ptr = Lib.g_type_info_get_interface @gobj
  IRepository.wrap_ibaseinfo_pointer ptr
end
name() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 38
def name
  raise 'Should not call this for ITypeInfo'
end
param_type(index) click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 13
def param_type(index)
  ITypeInfo.wrap(Lib.g_type_info_get_param_type @gobj, index)
end
pointer?() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 5
def pointer?
  Lib.g_type_info_is_pointer @gobj
end
tag() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 9
def tag
  Lib.g_type_info_get_tag @gobj
end
zero_terminated?() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 34
def zero_terminated?
  Lib.g_type_info_is_zero_terminated @gobj
end