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_ffitypeObject



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

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

#to_ffitypeObject



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

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