/usr/lib/ruby/vendor_ruby/gir_ffi/builders/union_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 14 15 16 17 18 19 20 | require 'gir_ffi/builders/boxed_builder'
require 'gir_ffi/union_base'
module GirFFI
module Builders
# Implements the creation of a class representing union type. The
# class will have a nested FFI::Union class to represent its C union.
class UnionBuilder < BoxedBuilder
def layout_superclass
FFI::Union
end
private
def superclass
UnionBase
end
end
end
end
|