Class: GObject::GObject::ManagedStruct
- Inherits:
-
FFI::ManagedStruct
- Object
- FFI::ManagedStruct
- GObject::GObject::ManagedStruct
- Includes:
- GObjectLayout
- Defined in:
- lib/vips/gobject.rb
Overview
the struct with unref … manage object lifetime with this
Direct Known Subclasses
Class Method Summary collapse
Methods included from GObjectLayout
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 |