Extensions for GObjectIntrospection::ICallableInfo needed by GirFFI
# File lib/gir_ffi/info_ext/i_callable_info.rb, line 5 def argument_ffi_types args.map { |arg| arg.to_ffitype } end
# File lib/gir_ffi/info_ext/i_callable_info.rb, line 9 def return_ffi_type return_type.to_ffitype end
TODO: Move to extension just for ICallbackInfo
# File lib/gir_ffi/info_ext/i_callable_info.rb, line 14 def to_ffitype Builder.build_class(self) end