module GirFFI::InfoExt::IVFuncInfo

Extensions for GObjectIntrospection::IVFuncInfo needed by GirFFI TODO: Merge implementation with ICallbackInfo and ISignalInfo extensions.

Public Instance Methods

argument_ffi_types() click to toggle 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
full_name() click to toggle source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 26
def full_name
  "#{container.full_name}::#{safe_name}"
end
has_invoker?() click to toggle source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 22
def has_invoker?
  invoker
end
invoker_name() click to toggle source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 18
def invoker_name
  invoker&.name
end
return_ffi_type() click to toggle source
# File lib/gir_ffi/info_ext/i_vfunc_info.rb, line 14
def return_ffi_type
  return_type.to_callback_ffi_type
end