Sha256: 6a01568275a787265e1ca7742d0c6f7dd333b4d7443f1f1ba5a7aa33784469d4

Contents?: true

Size: 179 Bytes

Versions: 1

Compression:

Stored size: 179 Bytes

Contents

module GObject
  load_class :InitiallyUnowned

  class InitiallyUnowned
    def self.constructor_wrap ptr
      super.tap {|obj| ::GObject.object_ref_sink obj}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-0.1.0 lib/ffi-gobject/initially_unowned.rb