Sha256: 4650c2b3d955c1e3382342e25a499063a4c1d2dbf8d299346be9ad1a9d60140f
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true require 'gir_ffi/builders/registered_type_builder' require 'gir_ffi/builders/with_layout' module GirFFI module Builders # Implements the creation of a class representing boxed types. class BoxedBuilder < RegisteredTypeBuilder include WithLayout private def setup_class setup_layout setup_constants stub_methods setup_field_accessors end def setup_field_accessors fields.each do |finfo| FieldBuilder.new(finfo).build end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.9.5 | lib/gir_ffi/builders/boxed_builder.rb |
gir_ffi-0.9.4 | lib/gir_ffi/builders/boxed_builder.rb |
gir_ffi-0.9.3 | lib/gir_ffi/builders/boxed_builder.rb |