Sha256: 16e1b53d477b7b5367f961ba2bc5ecc68c610a4958fb5369008184379f319679
Contents?: true
Size: 447 Bytes
Versions: 2
Compression:
Stored size: 447 Bytes
Contents
GObject.load_class :Closure module GObject # Overrides for GClosure, GObject's base class for closure objects. # # To create Closure objects wrapping Ruby code, use {RubyClosure}. class Closure # @override # # @param [Proc] marshal The marshaller to use for this closure object def set_marshal(marshal) callback = GObject::ClosureMarshal.from marshal 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.8.1 | lib/ffi-gobject/closure.rb |
gir_ffi-0.8.0 | lib/ffi-gobject/closure.rb |