Sha256: c1040db9161b32b7b005a8ec1971c11e812562df5857953257c2e613a5dd1c55
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 Bytes
Contents
# frozen_string_literal: true require "gir_ffi/builders/struct_builder" module GirFFI module Builders # Implements the creation of a class representing a Struct. class ClassStructBuilder < RegisteredTypeBuilder include StructLike attr_reader :superclass def initialize(info, super_class_struct) @superclass = super_class_struct super info raise "Info does not represent gtype_struct" unless info.gtype_struct? end def layout_superclass GirFFI::Struct end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.15.4 | lib/gir_ffi/builders/class_struct_builder.rb |