Module: GirFFI::InfoExt::IVFuncInfo
- Defined in:
- lib/gir_ffi/info_ext/i_vfunc_info.rb
Overview
Extensions for GObjectIntrospection::IVFuncInfo needed by GirFFI TODO: Merge implementation with ICallbackInfo and ISignalInfo extensions.
Instance Method Summary collapse
Instance Method Details
#argument_ffi_types ⇒ Object
6 7 8 9 10 |
# File 'lib/gir_ffi/info_ext/i_vfunc_info.rb', line 6 def argument_ffi_types args.map { |arg| arg.to_callback_ffitype }.tap do |types| types << :pointer if throws? end end |
#return_ffi_type ⇒ Object
12 13 14 |
# File 'lib/gir_ffi/info_ext/i_vfunc_info.rb', line 12 def return_ffi_type return_type.to_callback_ffitype end |