Sha256: 7573b21feb68fbfbc65ccbc6cc39c907a337d8c3bb14f08280c0b78b3135dec5

Contents?: true

Size: 291 Bytes

Versions: 27

Compression:

Stored size: 291 Bytes

Contents

module GObject
  load_class :InitiallyUnowned

  # Overrides for GInitiallyUnowned, GObject's base class for objects that
  # start with a floating reference.
  class InitiallyUnowned
    def self.constructor_wrap ptr
      super.tap {|obj| ::GObject.object_ref_sink obj}
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
gir_ffi-0.7.4 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.7.3 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.7.2 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.7.1 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.7.0 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.7 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.6 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.5 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.4 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.3 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.2 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.1 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.6.0 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.5.2 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.5.1 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.5.0 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.4.3 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.4.2 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.4.1 lib/ffi-gobject/initially_unowned.rb
gir_ffi-0.4.0 lib/ffi-gobject/initially_unowned.rb