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 28
def array_fixed_size
  Lib.g_type_info_get_array_fixed_size self
end
array_length() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 24
def array_length
  Lib.g_type_info_get_array_length self
end
array_type() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 32
def array_type
  Lib.g_type_info_get_array_type self
end
interface() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 19
def interface
  ptr = Lib.g_type_info_get_interface self
  IRepository.wrap_ibaseinfo_pointer ptr
end
name() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 40
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 15
def param_type(index)
  ITypeInfo.wrap Lib.g_type_info_get_param_type(self, index)
end
pointer?() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 7
def pointer?
  Lib.g_type_info_is_pointer self
end
tag() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 11
def tag
  Lib.g_type_info_get_tag self
end
zero_terminated?() click to toggle source
# File lib/ffi-gobject_introspection/i_type_info.rb, line 36
def zero_terminated?
  Lib.g_type_info_is_zero_terminated self
end