Sha256: 9567af52c4eb81dd9ed0240acd402ef8a934f5dba559d927e51048c9934005de
Contents?: true
Size: 475 Bytes
Versions: 22
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true module GirFFI # Wrapper class providing extended functionality for a GType, which is # normally just a kind of integer class GType def initialize(gtype) @gtype = gtype end def to_i @gtype end def class_size type_query.class_size end def instance_size type_query.instance_size end private def type_query @type_query ||= GObject.type_query @gtype end end end
Version data entries
22 entries across 22 versions & 1 rubygems