Sha256: 5a42faf27e2daaf8971d661c4ffce9a181beb60bd254af160ff7e595a9c2c80a

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 Bytes

Contents

module GObject
  load_class :Closure

  # Overrides for GClosure, GObject's base class for closure objects.
  class Closure
    def set_marshal marshal
      callback = GirFFI::CallbackHelper.wrap_in_callback_args_mapper("GObject",
                                                                     "ClosureMarshal",
                                                                     marshal)
      GirFFI::CallbackHelper.store_callback callback
      Lib.g_closure_set_marshal self, callback
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-0.5.1 lib/ffi-gobject/closure.rb
gir_ffi-0.5.0 lib/ffi-gobject/closure.rb