Sha256: ea58e553b7036b91b3af6dcfdef35a5a4e610f768c90661021b6a722a9528af2
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true require 'gir_ffi/builders/with_layout' module GirFFI module Builders # Implements base methods used by struct and union builders module StructLike include WithLayout def setup_class setup_layout setup_constants stub_methods setup_field_accessors end def setup_field_accessors fields.each do |finfo| FieldBuilder.new(finfo, klass).build end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.11.1 | lib/gir_ffi/builders/struct_like.rb |
gir_ffi-0.11.0 | lib/gir_ffi/builders/struct_like.rb |