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_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
  return argument_type.to_ffitype
end