class GLib::DestroyNotify

Overrides for DestroyNotify, the callback type for destroy notifications. It should not be necessary to create objects of this class from Ruby directly.

Public Class Methods

default() click to toggle source
# File lib/ffi-glib/destroy_notify.rb, line 10
def self.default
  @default ||= from proc { |user_data|
    callback_key = GirFFI::ArgHelper::OBJECT_STORE.fetch(user_data)
    drop_callback callback_key
  }
end