Sha256: 9954a815b0258da47fee3532600c100d942d0316dab387af732258fe9bd8c47b

Contents?: true

Size: 190 Bytes

Versions: 7

Compression:

Stored size: 190 Bytes

Contents

module GirFFI
  # TODO: Turn module into a class, use instance methods.
  module CallbackHelper
    CALLBACKS = []

    def self.store_callback prc
      CALLBACKS << prc
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gir_ffi-0.6.6 lib/gir_ffi/callback_helper.rb
gir_ffi-0.6.5 lib/gir_ffi/callback_helper.rb
gir_ffi-0.6.4 lib/gir_ffi/callback_helper.rb
gir_ffi-0.6.3 lib/gir_ffi/callback_helper.rb
gir_ffi-0.6.2 lib/gir_ffi/callback_helper.rb
gir_ffi-0.6.1 lib/gir_ffi/callback_helper.rb
gir_ffi-0.6.0 lib/gir_ffi/callback_helper.rb