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
full_name()
click to toggle 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
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