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 23
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 19
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 27
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 14
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 35
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 11
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 8
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 31
def zero_terminated?
  Lib.g_type_info_is_zero_terminated @gobj
end