File: object_class.rb

package info (click to toggle)
ruby-gir-ffi 0.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 924 kB
  • sloc: ruby: 6,849; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# 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