Module: GirFFI::CallbackHelper

Defined in:
lib/gir_ffi/callback_helper.rb

Overview

TODO: Turn module into a class, use instance methods.

Constant Summary collapse

CALLBACKS =
[]

Class Method Summary collapse

Class Method Details

.store_callback(prc) ⇒ Object



6
7
8
# File 'lib/gir_ffi/callback_helper.rb', line 6

def self.store_callback prc
  CALLBACKS << prc
end