/usr/lib/ruby/vendor_ruby/gir_ffi/builders/closure_argument_builder.rb is in ruby-gir-ffi 0.9.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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
|