Sha256: 2644b95793ab8b9786ba2d0e9ce4aca85c306a6a14458f13ead2660249d51794

Contents?: true

Size: 277 Bytes

Versions: 5

Compression:

Stored size: 277 Bytes

Contents

GObject.load_class :Closure

module GObject
  # 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

5 entries across 5 versions & 1 rubygems

Version Path
gir_ffi-0.7.9 lib/ffi-gobject/closure.rb
gir_ffi-0.7.8 lib/ffi-gobject/closure.rb
gir_ffi-0.7.7 lib/ffi-gobject/closure.rb
gir_ffi-0.7.6 lib/ffi-gobject/closure.rb
gir_ffi-0.7.5 lib/ffi-gobject/closure.rb