Sha256: d3f53dd104e538291acd710fc1495e54bbea32835b9b6069a5c6a603f5f24045
Contents?: true
Size: 378 Bytes
Versions: 9
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true require 'gir_ffi/boxed_base' module GirFFI # Base class for generated classes representing GLib unions. class UnionBase < ClassBase extend FFI::DataConverter include GirFFI::StructLikeBase def initialize @struct = self.class::Struct.new @struct.owned = true @struct.to_ptr.autorelease = false end end end
Version data entries
9 entries across 9 versions & 1 rubygems