Exception: FFI::NotFoundError

Inherits:
NativeError show all
Defined in:
lib/ffi/ffi.rb

Instance Method Summary collapse

Constructor Details

#initialize(function, *libraries) ⇒ NotFoundError

Returns a new instance of NotFoundError.



36
37
38
# File 'lib/ffi/ffi.rb', line 36

def initialize(function, *libraries)
  super("Function '#{function}' not found in [#{libraries[0].nil? ? 'current process' : libraries.join(", ")}]")
end