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
10 11 12 13 14 15 |
# File 'lib/ffi-glib/destroy_notify.rb', line 10 def self.default @default ||= from proc { |user_data| callback = GirFFI::ArgHelper::OBJECT_STORE.fetch(user_data) drop_callback callback } end |