Sha256: c0fcfcaef8f6b61cbbe24c04745e52482bc3ada10fb3d4f7e6db59880f02465b
Contents?: true
Size: 428 Bytes
Versions: 3
Compression:
Stored size: 428 Bytes
Contents
GLib.load_class :DestroyNotify module GLib # Overrides for DestroyNotify, the callback type for destroy notifications. # It should not be necessary to create objects of this class from Ruby # directly. class DestroyNotify def self.default @default ||= from proc { |user_data| callback_key = GirFFI::ArgHelper::OBJECT_STORE.fetch(user_data) drop_callback callback_key } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.9.2 | lib/ffi-glib/destroy_notify.rb |
gir_ffi-0.9.1 | lib/ffi-glib/destroy_notify.rb |
gir_ffi-0.9.0 | lib/ffi-glib/destroy_notify.rb |