Sha256: 56825fe8a459437a6ae334e6750169e6ac7dbd767d8c54e5b6bd8448e416a02d

Contents?: true

Size: 271 Bytes

Versions: 6

Compression:

Stored size: 271 Bytes

Contents

module GObject
  load_class :Closure

  # Overrides for GClosure, GObject's base class for closure objects.
  class Closure
    def set_marshal marshal
      callback = GObject::ClosureMarshal.from marshal
      Lib.g_closure_set_marshal self, callback
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gir_ffi-0.7.4 lib/ffi-gobject/closure.rb
gir_ffi-0.7.3 lib/ffi-gobject/closure.rb
gir_ffi-0.7.2 lib/ffi-gobject/closure.rb
gir_ffi-0.7.1 lib/ffi-gobject/closure.rb
gir_ffi-0.7.0 lib/ffi-gobject/closure.rb
gir_ffi-0.6.7 lib/ffi-gobject/closure.rb