Module: GirFFI::InfoExt::IFunctionInfo

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

Overview

Extensions for GObjectIntrospection::IFunctionInfo needed by GirFFI

Instance Method Summary collapse

Instance Method Details

#argument_ffi_typesObject



5
6
7
8
9
10
# File 'lib/gir_ffi/info_ext/i_function_info.rb', line 5

def argument_ffi_types
  super.tap do |types|
    types.unshift :pointer if method?
    types << :pointer if throws?
  end
end