Sha256: 1f81a2330fd97fca567b68895c532487028c38db52870c4e503b5bee575c6844

Contents?: true

Size: 294 Bytes

Versions: 8

Compression:

Stored size: 294 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::Callback.from("GObject", "ClosureMarshal", marshal)
      Lib.g_closure_set_marshal self, callback
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gir_ffi-0.6.6 lib/ffi-gobject/closure.rb
gir_ffi-0.6.5 lib/ffi-gobject/closure.rb
gir_ffi-0.6.4 lib/ffi-gobject/closure.rb
gir_ffi-0.6.3 lib/ffi-gobject/closure.rb
gir_ffi-0.6.2 lib/ffi-gobject/closure.rb
gir_ffi-0.6.1 lib/ffi-gobject/closure.rb
gir_ffi-0.6.0 lib/ffi-gobject/closure.rb
gir_ffi-0.5.2 lib/ffi-gobject/closure.rb