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 10
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 5
def to_ffi_type
  return :pointer if direction != :in
  argument_type.to_ffi_type
end