Module: GirFFI::InfoExt::IArgInfo

Defined in:
lib/gir_ffi/info_ext/i_arg_info.rb

Overview

Extensions for GObjectIntrospection::IArgInfo needed by GirFFI

Instance Method Summary collapse

Instance Method Details

#to_callback_ffi_typeObject



11
12
13
14
# File 'lib/gir_ffi/info_ext/i_arg_info.rb', line 11

def to_callback_ffi_type
  return :pointer if direction != :in
  argument_type.to_callback_ffi_type
end

#to_ffi_typeObject



6
7
8
9
# File 'lib/gir_ffi/info_ext/i_arg_info.rb', line 6

def to_ffi_type
  return :pointer if direction != :in
  argument_type.to_ffi_type
end