Module: GirFFI::InfoExt::IArgInfo

Included in:
GObjectIntrospection::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



13
14
15
16
17
# 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_typeObject



7
8
9
10
11
# 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