module GirFFI::InfoExt::ICallbackInfo

Extensions for GObjectIntrospection::ICallbackInfo needed by GirFFI

Public Instance Methods

argument_ffi_types() click to toggle source
# File lib/gir_ffi/info_ext/i_callback_info.rb, line 9
def argument_ffi_types
  args.map(&:to_callback_ffi_type)
end
return_ffi_type() click to toggle source
# File lib/gir_ffi/info_ext/i_callback_info.rb, line 13
def return_ffi_type
  return_type.to_callback_ffi_type
end
to_ffi_type() click to toggle source
# File lib/gir_ffi/info_ext/i_callback_info.rb, line 5
def to_ffi_type
  Builder.build_class(self)
end