module GirFFI::InfoExt::IArgInfo

Extensions for GObjectIntrospection::IArgInfo needed by GirFFI

Public Instance Methods

to_callback_ffi_type() click to toggle source
# File lib/gir_ffi/info_ext/i_arg_info.rb, line 13
def to_callback_ffi_type
  return :pointer if direction != :in

  argument_type.to_callback_ffi_type
end
to_ffi_type() click to toggle source
# File lib/gir_ffi/info_ext/i_arg_info.rb, line 7
def to_ffi_type
  return :pointer if direction != :in

  argument_type.to_ffi_type
end