module GirFFI::InfoExt::IFunctionInfo
Extensions for GObjectIntrospection::IFunctionInfo
needed by GirFFI
Public Instance Methods
argument_ffi_types()
click to toggle source
Calls superclass method
# File lib/gir_ffi/info_ext/i_function_info.rb, line 7 def argument_ffi_types super.tap do |types| types.unshift :pointer if method? types << :pointer if throws? end end
return_ffi_type()
click to toggle source
# File lib/gir_ffi/info_ext/i_function_info.rb, line 14 def return_ffi_type return_type.to_ffi_type end