Class: GLib::DestroyNotify
- Inherits:
-
Object
- Object
- GLib::DestroyNotify
- Defined in:
- lib/ffi-glib/destroy_notify.rb
Overview
Overrides for DestroyNotify, the callback type for destroy notifications. It should not be necessary to create objects of this class from Ruby directly.
Class Method Summary collapse
Class Method Details
.default ⇒ Object
9 10 11 12 13 14 |
# File 'lib/ffi-glib/destroy_notify.rb', line 9 def self.default @default ||= from proc { |user_data| callback_key = GirFFI::ArgHelper::OBJECT_STORE.fetch(user_data) drop_callback callback_key } end |