Module FFI::Library
In: lib/ffi/library.rb
lib/ffi/callback.rb
lib/ffi/library.rb
lib/ffi/callback.rb

Methods

Constants

DEFAULT = FFI::DynamicLibrary.open(nil, FFI::DynamicLibrary::RTLD_LAZY)
DEFAULT = FFI::DynamicLibrary.open(nil, FFI::DynamicLibrary::RTLD_LAZY)

Public Instance methods

Attach C function name to this module.

If you want to provide an alternate name for the module function, supply it after the name, otherwise the C function name will be used.#

After the name, the C function argument types are provided as an Array.

The C function return type is provided last.

Attach C function name to this module.

If you want to provide an alternate name for the module function, supply it after the name, otherwise the C function name will be used.#

After the name, the C function argument types are provided as an Array.

The C function return type is provided last.

[Validate]