module GirFFI::InfoExt::IVFuncInfo
Extensions for GObjectIntrospection::IVFuncInfo
needed by GirFFI
TODO: Merge implementation with ICallbackInfo
and ISignalInfo
extensions.
Public Instance Methods
Source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 8 def argument_ffi_types args.map(&:to_callback_ffi_type).tap do |types| types << :pointer if throws? end end
Source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 26 def full_name "#{container.full_name}::#{safe_name}" end
Source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 22 def has_invoker? invoker end
Source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 18 def invoker_name invoker&.name end
Source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 14 def return_ffi_type return_type.to_callback_ffi_type end