module GirFFI::InfoExt::IFunctionInfo
Extensions for GObjectIntrospection::IFunctionInfo
needed by GirFFI
Public Instance Methods
Source
# 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
Calls superclass method
Source
# File lib/gir_ffi/info_ext/i_function_info.rb, line 18 def full_name if method? "#{container.full_name}##{safe_name}" elsif container "#{container.full_name}.#{safe_name}" else "#{safe_namespace}.#{safe_name}" end end
Source
# File lib/gir_ffi/info_ext/i_function_info.rb, line 14 def return_ffi_type return_type.to_ffi_type end