Method: FFI::Library#attached_functions
- Defined in:
- lib/ffi/library.rb
#attached_functions ⇒ Hash< Symbol => [FFI::Function, FFI::VariadicInvoker] >
Retrieve all attached functions and their function signature
This method returns a Hash of method names of attached functions connected by #attach_function and the corresponding function type. The function type responds to #return_type and #param_types which return the FFI types of the function signature.
544 545 546 |
# File 'lib/ffi/library.rb', line 544 def attached_functions @ffi_functions || {} end |