Sha256: 77b09a07d3658daa70350e2ed79f4721ff2ee5cbeb3965e5de390db4814563cb

Contents?: true

Size: 401 Bytes

Versions: 9

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true

require 'gir_ffi/builders/callback_return_value_builder'

module GirFFI
  module Builders
    # Implements building post-processing statements for return values of
    # closures.
    class ClosureReturnValueBuilder < CallbackReturnValueBuilder
      def needs_ruby_to_c_conversion?
        type_info.needs_ruby_to_c_conversion_for_closures?
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.14.1 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.14.0 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.13.1 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.13.0 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.12.1 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.12.0 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.11.4 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.11.3 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.11.2 lib/gir_ffi/builders/closure_return_value_builder.rb