Class: GObjectIntrospection::IVFuncInfo
Overview
Wraps a GIVFuncInfo struct. Represents a virtual function.
Instance Method Summary
collapse
#arg, #caller_owns, #instance_ownership_transfer, #may_return_null?, #n_args, #return_type, #skip_return?
Methods inherited from IBaseInfo
#==, #attribute, build_array_method, build_finder_method, #container, #deprecated?, #info_type, #initialize, make_finalizer, #name, #namespace, #safe_namespace, #to_ptr, wrap
Instance Method Details
#flags ⇒ Object
5
6
7
|
# File 'lib/ffi-gobject_introspection/i_vfunc_info.rb', line 5
def flags
Lib.g_vfunc_info_get_flags @gobj
end
|
#invoker ⇒ Object
21
22
23
|
# File 'lib/ffi-gobject_introspection/i_vfunc_info.rb', line 21
def invoker
IFunctionInfo.wrap Lib.g_vfunc_info_get_invoker(@gobj)
end
|
#offset ⇒ Object
13
14
15
|
# File 'lib/ffi-gobject_introspection/i_vfunc_info.rb', line 13
def offset
Lib.g_vfunc_info_get_offset @gobj
end
|
#signal ⇒ Object
17
18
19
|
# File 'lib/ffi-gobject_introspection/i_vfunc_info.rb', line 17
def signal
ISignalInfo.wrap Lib.g_vfunc_info_get_signal(@gobj)
end
|
#throws? ⇒ Boolean
9
10
11
|
# File 'lib/ffi-gobject_introspection/i_vfunc_info.rb', line 9
def throws?
flags & 8 != 0
end
|