Sha256: e37c5af192eab418a94b3fcacfe763370d56ea4fd7f1966d109d5ea235922687

Contents?: true

Size: 222 Bytes

Versions: 3

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

GObject::Object.class_struct

module GObject
  # Overrides for GObjectClass, the class struct for GObject::Object
  class ObjectClass
    def gtype
      to_ptr.get_gtype 0
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.17.0 lib/ffi-gobject/object_class.rb
gir_ffi-0.16.1 lib/ffi-gobject/object_class.rb
gir_ffi-0.16.0 lib/ffi-gobject/object_class.rb