Sha256: 561d9e9150a10f963e43b16e4b8ee387b71ecb72e950c822491a31952ccc4544

Contents?: true

Size: 400 Bytes

Versions: 9

Compression:

Stored size: 400 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.11.1 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.11.0 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.10.2 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.10.1 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.10.0 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.10.0.pre1 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.9.5 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.9.4 lib/gir_ffi/builders/closure_return_value_builder.rb
gir_ffi-0.9.3 lib/gir_ffi/builders/closure_return_value_builder.rb