[フレーム]

Class: GObject::GObject::ManagedStruct

Inherits:
FFI::ManagedStruct
  • Object
  • FFI::ManagedStruct
  • GObject::GObject::ManagedStruct
show all
Includes:
GObjectLayout
Defined in:
lib/vips/gobject.rb

Overview

the struct with unref ... manage object lifetime with this

Direct Known Subclasses

Vips::Object::ManagedStruct

Class Method Summary collapse

Methods included from GObjectLayout

included

Class Method Details

.release(ptr) ⇒ Object

57
58
59
60
61
62
# File 'lib/vips/gobject.rb', line 57
def self.release ptr
 # GLib::logger.debug("GObject::GObject::ManagedStruct.release") {
 # "unreffing #{ptr}"
 # }
 ::GObject .g_object_unref ptr
end

AltStyle によって変換されたページ (->オリジナル) /