Sha256: c17a76a460ad0812ccd3170f181617530fd09f81973f1a6951d954d105f4110f

Contents?: true

Size: 425 Bytes

Versions: 12

Compression:

Stored size: 425 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gir_ffi-0.9.2 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.9.1 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.9.0 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.8.6 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.8.5 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.8.4 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.8.3 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.8.2 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.8.1 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.8.0 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.7.10 lib/gir_ffi/builders/union_builder.rb
gir_ffi-0.7.9 lib/gir_ffi/builders/union_builder.rb