module GirFFI::InfoExt::IArgInfo

Extensions for GObjectIntrospection::IArgInfo needed by GirFFI

Public Instance Methods

to_ffitype() click to toggle source
# 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