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 25
def arg(index)
  IArgInfo.wrap(Lib.g_callable_info_get_arg @gobj, index)
end
args() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 29
build_array_method :args
caller_owns() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 13
def caller_owns
  Lib.g_callable_info_get_caller_owns @gobj
end
may_return_null?() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 17
def may_return_null?
  Lib.g_callable_info_may_return_null @gobj
end
n_args() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 21
def n_args
  Lib.g_callable_info_get_n_args @gobj
end
return_type() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 9
def return_type
  ITypeInfo.wrap(Lib.g_callable_info_get_return_type @gobj)
end
skip_return?() click to toggle source
# File lib/ffi-gobject_introspection/i_callable_info.rb, line 31
def skip_return?
  Lib.g_callable_info_skip_return @gobj
end