Sha256: 73a0b54837f3704d8f1514077f774302c0298647b39cec5d1fb2aad4badc7182

Contents?: true

Size: 424 Bytes

Versions: 9

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true
require 'gir_ffi/builders/callback_argument_builder'

module GirFFI
  module Builders
    # Convertor for arguments for RubyClosure objects. Used when building the
    # marshaller for signal handler closures.
    class ClosureArgumentBuilder < CallbackArgumentBuilder
      def needs_c_to_ruby_conversion?
        type_info.needs_c_to_ruby_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_argument_builder.rb
gir_ffi-0.11.0 lib/gir_ffi/builders/closure_argument_builder.rb
gir_ffi-0.10.2 lib/gir_ffi/builders/closure_argument_builder.rb
gir_ffi-0.10.1 lib/gir_ffi/builders/closure_argument_builder.rb
gir_ffi-0.10.0 lib/gir_ffi/builders/closure_argument_builder.rb
gir_ffi-0.10.0.pre1 lib/gir_ffi/builders/closure_argument_builder.rb
gir_ffi-0.9.5 lib/gir_ffi/builders/closure_argument_builder.rb
gir_ffi-0.9.4 lib/gir_ffi/builders/closure_argument_builder.rb
gir_ffi-0.9.3 lib/gir_ffi/builders/closure_argument_builder.rb