Sha256: ff1a207461f601a8092aae33f49bf8766b436b5243fc7fdd080192c2294301e4
Contents?: true
Size: 246 Bytes
Versions: 3
Compression:
Stored size: 246 Bytes
Contents
module GirFFI class Callback < Proc def self.from namespace, name, prc GirFFI::CallbackHelper.wrap_in_callback_args_mapper(namespace, name, prc).tap do |cb| GirFFI::CallbackHelper.store_callback cb end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.5.2 | lib/gir_ffi/callback.rb |
gir_ffi-0.5.1 | lib/gir_ffi/callback.rb |
gir_ffi-0.5.0 | lib/gir_ffi/callback.rb |