class GObjectIntrospection::ICallableInfo

Wraps a GICallableInfo struct; represents a callable, either IFunctionInfo, ICallbackInfo or IVFuncInfo.

Public Instance Methods

arg(index) click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 31
def arg(index)
  IArgInfo.wrap Lib.g_callable_info_get_arg(self, index)
end
args() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 35
build_array_method :args
caller_owns() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 15
def caller_owns
  Lib.g_callable_info_get_caller_owns self
end
can_throw_gerror?() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 23
def can_throw_gerror?
  Lib.g_callable_info_can_throw_gerror self
end
instance_ownership_transfer() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 41
def instance_ownership_transfer
  Lib.g_callable_info_get_instance_ownership_transfer self
end
may_return_null?() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 19
def may_return_null?
  Lib.g_callable_info_may_return_null self
end
n_args() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 27
def n_args
  Lib.g_callable_info_get_n_args self
end
return_type() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 11
def return_type
  @return_type ||= ITypeInfo.wrap Lib.g_callable_info_get_return_type(self)
end
skip_return?() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 37
def skip_return?
  Lib.g_callable_info_skip_return self
end